desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #72251
[Bug 313514] Re: MASTER: evdev driver ignores keycodes > 255
** Project changed: linux => xorg-server
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/313514
Title:
MASTER: evdev driver ignores keycodes > 255
Status in X.Org X server:
Confirmed
Status in “xorg-server” package in Ubuntu:
Triaged
Bug description:
Binary package hint: xserver-xorg-input-evdev
package Version: 1:2.0.99+git20080912-0ubuntu5
Ubuntu 8.10
Keyboards can use keycodes that go above 255. See http://lxr.linux.no/linux+v2.6.28/include/linux/input.h
These are often multimedia keys for keyboards and remotes.
These are ignored by the evdev driver:
gimble:~/xserver-xorg-input-evdev-2.0.99+git20080912$ grep 255 src/evdev.c
if (code > 255 && ev->code < KEY_MAX) {
/* The X server can't handle keycodes > 255 anyway, just drop them. */
Which means they never reach X and therefore cannot be used in anyway.
The only workaround at the minute would be to use input-kdb to remap
all keys for an input device to values lower than 255.
To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/313514/+subscriptions