Re: [AD] linux keyboard mapping?

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


>I just noticed that Allegro's keyboard mapping is broken in linux.
>
>todo.txt says this:
>
>- key[] should not be internationalised (e.g. KEY_S should always be set
>  for the key two to the right of CapsLock).  If we can't solve this in
>  time, include bukinm's xkeymap program.
>
>I searched with google for "bukinm xkeymap" and "xkeymap", but found
>nothing. I also couldn't figure out how the custom codes i can put in a
>config-file are supposed to work. Anyone has some info on this?
>

I don't know where Michael's utility is, but look in src/x/xwin.c, _xwin_private_init_keyboard_tables().
 You should be able to figure out the config variables from that.

When writing the events API prototype, I got more details on the problem (as
well as learning X, finally).  The problem is that X only tells us "Keysyms"
which is something between a physical key and a character.  There's no way to
"solve" the problem, as I alluded to in that todo entry.



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