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>
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
cb5491ee4d
commit
b7c09eaf1c
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user