2008-04-16, 20:20
I have just got an Gyro Remote which works as a usb hid keyboard. The cursor keys work and so do the number keys but the other keys (play, stop, etc ) do nothing.
If I use xev I can see the events being triggered as I press the keys. My question is how do I use that information to setup the keys in keymap.xml?
I know that it is possible to set <key id=something> but it does not seem to relate directly to the xev info. I have looked in ButtonTranslator.cpp and SDLKeyboard.cpp but cannot figure this out.
Any help greatly appreciated.
If I use xev I can see the events being triggered as I press the keys. My question is how do I use that information to setup the keys in keymap.xml?
I know that it is possible to set <key id=something> but it does not seem to relate directly to the xev info. I have looked in ButtonTranslator.cpp and SDLKeyboard.cpp but cannot figure this out.
Any help greatly appreciated.