Welcome! Log In Create A New Profile

Advanced

Keyboard IOREC handling difference in AES/XAAES

Coda
May 27, 2008 08:46AM
Hi guys.

You may know that I wrote a USB mouse driver for EtherNat and NetUSBee. Well I'm trying to add initial mouse wheel support so that wheel up/down events are producing cursor key up/down keys. The way I'm doing this is by manually inserting these key events into the keyboard's Iorec buffer during my mouse processing interrupt.

This is working fine in TOS 4.04. However, when XAAES is loaded, the key events are not being acted upon until a 'real' key is pressed on the keyboard, at which time the stored key events are being 'played' by the AES. I pinned this down to XAAES because I found it still works OK with MiNT and GEM=ROM.

Is there something I need to do extra, or is there a better way? Like fake a MU_KEYBRD event or something, or tell XAAES there's work to do in the keyboard buffer? Or forget the buffer, and just send messages direct to the AES somehow?

I know many of you will probably consider what I'm doing 'a dirty hack' and I'm inclined to agree except I don't want to write stuff to work only on one platform, and at the moment I can't figure out a way to do it 'clean' to work on every system. I'm open to suggestions.

Thanks.
Subject Author Views Posted

Keyboard IOREC handling difference in AES/XAAES

Coda 2833 May 27, 2008 08:46AM

Re: Keyboard IOREC handling difference in AES/XAAES

PeP 1080 May 28, 2008 01:26AM

Re: Keyboard IOREC handling difference in AES/XAAES

Coda 1243 May 28, 2008 05:57AM

Re: Keyboard IOREC handling difference in AES/XAAES

PeP 1451 May 28, 2008 12:26PM

Re: Keyboard IOREC handling difference in AES/XAAES

Coda 1793 May 28, 2008 11:01PM

Re: Keyboard IOREC handling difference in AES/XAAES

PeP 1558 May 28, 2008 11:30PM

Re: Keyboard IOREC handling difference in AES/XAAES

Coda 1590 May 29, 2008 12:34AM

Re: Keyboard IOREC handling difference in AES/XAAES

PeP 1602 May 29, 2008 01:59AM

Re: Keyboard IOREC handling difference in AES/XAAES

Coda 1601 May 29, 2008 02:29AM

Re: Keyboard IOREC handling difference in AES/XAAES

Jo Even 4388 June 09, 2008 05:07AM



Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
CAPTCHA
Message: