Re: [AD] XIM patch for Allegro 4.1.x

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Elias Pschernig wrote:

Yes, I see now: "(shift changes case, ctrl+letter gives the position of
that letter in the alphabet, eg. ctrl+A = 1, ctrl+B = 2, etc). Pressing
alt+key returns only the scancode, with a zero ASCII code in the low
byte."

I'll have to add special handlers for Alt and Ctrl I guess. Does anyone
know if the Mac OSX code does conform to this?


It looks so and I'm sure it would have been brought up by now if it didn't.

And why isn't this done
in keyboard.c, if it is driver independent? Same as not putting keys
like KEY_SHIFT into the buffer - that should belong into keyboard.c, not
the driver. I'll see if I can improve this, instead of just hacking it
into the x11 driver.

*Maybe*, but I don't think you want keyboard.c to become too high level, getting in the way of other drivers.

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/