Policy concerning keycodes > 255
Sébastien Mazy
melyadon at gmail.com
Wed Jan 14 13:54:21 PST 2009
Hello,
As you probably already know, a few Linux input drivers currently send
keycodes with a value above 255. While this makes sense from a kernel
point of view (a bunch of meaningful > 255 keycodes are defined in
linux/input.h), these keycodes are not supported by Xorg at the moment
and that might be the reason why HAL doesn't even forward them to evdev.
However, this support should be implemented with X Input 2.0, see:
http://lists.freedesktop.org/archives/xorg/2009-January/042441.html
My question is as follows: What is the HAL commit policy concerning
these unsupported keycodes? or, said differently: would fdi patches (not
generic, per specific hardware) to remap these unsupported keycodes be
accepted or will the situation stay as it is until Xorg is fixed? (and
so, broken for many users)
For instance, my thinkpad keyboard sends KEY_VENDOR and my remote
control KEY_CHANNELUP. This could be remapped respectively to
KEY_COMPUTER and KEY_UP.
Cheers,
--
Sébastien Mazy
More information about the hal
mailing list