Bug 12203 - Add layout and keycode mapping for display switch and keyboard backlight control
Summary: Add layout and keycode mapping for display switch and keyboard backlight control
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 15:47 UTC by Eric Anholt
Modified: 2007-08-29 15:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
add keysym mapping for display switch and keyboard backlight control (2.44 KB, patch)
2007-08-28 15:48 UTC, Eric Anholt
Details | Splinter Review

Description Eric Anholt 2007-08-28 15:47:07 UTC
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.
Comment 1 Eric Anholt 2007-08-28 15:48:31 UTC
Created attachment 11315 [details] [review]
add keysym mapping for display switch and keyboard backlight control
Comment 2 Sergey V. Udaltsov 2007-08-29 15:02:08 UTC
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.