diff options
author | Zhang Xianwei <zhang.xianwei8@zte.com.cn> | 2018-10-09 18:53:25 +0800 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-10-09 14:44:09 +0200 |
commit | b7c09eaf1c2f7c840b8462e019e28c4fa153c090 (patch) | |
tree | 303107120e6b62439604eeb200719cd35e354a9a | |
parent | Merge pull request #10324 from poettering/audit-serialize-bool (diff) | |
download | systemd-b7c09eaf1c2f7c840b8462e019e28c4fa153c090.tar.gz systemd-b7c09eaf1c2f7c840b8462e019e28c4fa153c090.tar.bz2 systemd-b7c09eaf1c2f7c840b8462e019e28c4fa153c090.zip |
hwdb: Map 45 to bookmarks on the ThinkPad L380
The ThinkPad L380 has a F12(Favorate) key. The keycode 0x45 is mapped
to KEY_FAVORITES(0x16c) in kernel thinkpad_acpi driver, but this
keycode is too big for xorg to handle.
xkeyboard-config mapped KEY_BOOKMARKS to XF86Favorites:
keycodes/evdev:
<I164> = 164; // #define KEY_BOOKMARKS 156
symbols/inet:
key <I164> { [ XF86Favorites ] };
So map 45 to bookmarks to correct keycode.
Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
-rw-r--r-- | hwdb/60-keyboard.hwdb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index cd37fdc13..a439a1378 100644 --- a/hwdb/60-keyboard.hwdb +++ b/hwdb/60-keyboard.hwdb @@ -669,6 +669,7 @@ evdev:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn* KEYBOARD_KEY_16=mute KEYBOARD_KEY_17=prog1 KEYBOARD_KEY_1a=f20 # Microphone mute button; should be micmute + KEYBOARD_KEY_45=bookmarks # ThinkPad Keyboard with TrackPoint evdev:input:b0003v17EFp6009* |