mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-28 17:47:05 +03:00
b7c09eaf1c
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>