Currently, the display switch and keyboard backlight control keys (output by ACPI in current Linux kernels) will get passed through unmodified with no keysym assigned. This fixes that for the default, xf86-input-keyboard case on Linux, and includes what I believe to be the appropriate patch for evdev as well. Note that while several other ACPI keys have started being exported in theory as well, most are above the 240 mark, which means they won't be output by raw keycode emulation in the kernel. Luckily, those don't appear to be important keys. Second note: The XF86Kbd* keysyms were just added to XKeysymDB, and thus may pose a compatibility problem. XF86Display has been in there for some time.
Created attachment 11315 [details] [review] add keysym mapping for display switch and keyboard backlight control
Sweet! Thanks, committed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.