From: Zhang Xianwei Date: Tue, 9 Oct 2018 10:53:25 +0000 (+0800) Subject: hwdb: Map 45 to bookmarks on the ThinkPad L380 X-Git-Tag: v240~600 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7c09eaf1c2f7c840b8462e019e28c4fa153c090;p=platform%2Fupstream%2Fsystemd.git 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: = 164; // #define KEY_BOOKMARKS 156 symbols/inet: key { [ XF86Favorites ] }; So map 45 to bookmarks to correct keycode. Signed-off-by: Zhang Xianwei --- diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index cd37fdc..a439a13 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*