summaryrefslogtreecommitdiff
path: root/hwdb.d/60-keyboard.hwdb
diff options
context:
space:
mode:
authorTomáš Hnyk <tomashnyk@gmail.com>2022-08-21 13:34:20 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2022-08-22 10:34:21 +0100
commit376a30a7e55a61815bb86dde8ea64451b9986c5d (patch)
tree0482dd7f13998792537af510e6cb9dfdd2aa1953 /hwdb.d/60-keyboard.hwdb
parente3a4724db2fca3e0269e44dccb4c3ec692fb1943 (diff)
downloadsystemd-376a30a7e55a61815bb86dde8ea64451b9986c5d.tar.gz
Add support for Fn+PrtSc on Thinkpads
This adds support for Fn+PrtSc on my Lenovo Thinkpad Extreme gen 2. Judging by the picture on the key, it should probably instead of prog2 be "selective_screenshot" (that is a possible value from judging this list https://gist.githubusercontent.com/samvel1024/02e5675e04f9d84f098e98bcd0e1ea12/raw/e18d950ce571b4ff5c832cc06406e9a6afece132/keynames.txt ) but that does not register with evtest at all. With this change, evtest reports: ``` Event: time 1661081631.027773, type 1 (EV_KEY), code 149 (KEY_PROG2), value 1 Event: time 1661081631.027773, -------------- SYN_REPORT ------------ Event: time 1661081631.027886, type 1 (EV_KEY), code 149 (KEY_PROG2), value 0 Event: time 1661081631.027886, -------------- SYN_REPORT ------------ ``` I am not sure if systemd is the right place to add this, if not, please refer me somewhere else.
Diffstat (limited to 'hwdb.d/60-keyboard.hwdb')
-rw-r--r--hwdb.d/60-keyboard.hwdb1
1 files changed, 1 insertions, 0 deletions
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 095bb34cd8..9ed972f655 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -858,6 +858,7 @@ 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
# ThinkPad Keyboard with TrackPoint
evdev:input:b0003v17EFp6009*