From 792c779f7d5213a8ad676c0da660c2f558ab796f Mon Sep 17 00:00:00 2001 From: JeroenHD Date: Thu, 29 Sep 2022 22:23:42 +0200 Subject: [PATCH] Add special keyboard combos for Thinkpad P1 Gen 3 (#24862) * Add special keyboard combos for Thinkpad P1 Gen 3 These are based on the key codes I've found with evtest. See issue https://github.com/systemd/systemd/issues/24814 for more details. I'm not entirely sure what some of these keys are supposed to do, notably Fn+RShift; this doesn't seem to do anything in Windows on my machine. Binding them to prog# makes them available to desktop managers' key bindings at least, in case someone wishes to make use of this extra keybind possibility. --- hwdb.d/60-keyboard.hwdb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index 2f457ac7a8..d5b81a9953 100644 --- a/hwdb.d/60-keyboard.hwdb +++ b/hwdb.d/60-keyboard.hwdb @@ -876,7 +876,11 @@ evdev:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:* KEYBOARD_KEY_17=prog1 KEYBOARD_KEY_1a=f20 # Microphone mute button; should be micmute KEYBOARD_KEY_45=bookmarks - KEYBOARD_KEY_46=prog2 + KEYBOARD_KEY_46=prog2 # Fn + PrtSc, on Windows: Snipping tool + KEYBOARD_KEY_4a=prog3 # Fn + Right shift, on Windows: No idea + KEYBOARD_KEY_4b=chat # Fn + F9, on Windows: Notifications panel key + KEYBOARD_KEY_4c=connect # Fn + F10, on Windows: Answer (Teams) call + KEYBOARD_KEY_4d=cancel # Fn + F11, on Windows: Hangup/decline (Teams) call # ThinkPad Keyboard with TrackPoint evdev:input:b0003v17EFp6009* -- 2.25.1