Converting linux keycodes to X keycodes

Aivils Stoss aivils at latnet.lv
Wed May 31 22:59:48 PDT 2006


On Trešdiena, 31. Maijs 2006 20:31, Jeremy Wilkins wrote:
> Hi All,
>
> I've got an ATI remote control, this worked great in older linux 2.6
> kernels but the OK button has changed and now maps to linux keycode
> 352 (KEY_OK). I've also managed to find the the scancode using
> showkeys.
>
> How do I find the equivalent X keycode? I've tried xev, but this
> appears to only work with keycodes up to 255?

Linux kernel does not send keycodes > 255 to X. That is kernel limitation.
Set another code on OK button.

man setkeycodes

Aivils Stoss



More information about the xorg mailing list