From: JeroenHD Date: Thu, 29 Sep 2022 20:23:42 +0000 (+0200) Subject: Add special keyboard combos for Thinkpad P1 Gen 3 (#24862) X-Git-Tag: v252-rc1~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=792c779f7d5213a8ad676c0da660c2f558ab796f;p=thirdparty%2Fsystemd.git 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. --- diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index 2f457ac7a8a..d5b81a99532 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*