It seems pretty clear that this is not going to get fixed for X but
could someone add a comment here for reference whether this same
limitation is true or not for Wayland?

-- 
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 The Linux Kernel:
  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/linux/+bug/313514/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to