]> git.ipfire.org Git - thirdparty/systemd.git/commit - hwdb.d/60-keyboard.hwdb
hwdb: Map 45 to bookmarks on the ThinkPad L380
authorZhang Xianwei <zhang.xianwei8@zte.com.cn>
Tue, 9 Oct 2018 10:53:25 +0000 (18:53 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 9 Oct 2018 12:44:09 +0000 (14:44 +0200)
commitb7c09eaf1c2f7c840b8462e019e28c4fa153c090
tree303107120e6b62439604eeb200719cd35e354a9a
parentcb5491ee4d9af8c7e9723cbb34d83788fe24af9b
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>
hwdb/60-keyboard.hwdb