]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add quirk to fix mapping of VIOS LTH17 touchpad toggle key
authorHans de Goede <hdegoede@redhat.com>
Mon, 19 Feb 2018 17:11:30 +0000 (18:11 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 19 Feb 2018 19:20:40 +0000 (20:20 +0100)
The touchpad toggle key (Fn + F6) on the VIOS LTH17 sends CTRL + META + F24
without this quirk. With this quirk it sends CTRL + META + F21, with F21
mapping to XF86TouchpadToggle, which is what we want.

Note that the CTRL + META modifiers being send together with the F21 are
still somewhat unusual, userspace will need to be thought to deal with
this as there is nothing we can do about this at the hwdb level. Note at
least one other laptop also sends CTRL + META + F21 instead of just F21.

hwdb/60-keyboard.hwdb

index 799cf02f937076f7f8260d2989dc6aeec8795b86..02c31e2307fc81fd310d418a21607c84cb497ed9 100644 (file)
@@ -1263,6 +1263,13 @@ evdev:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnVIA:pnK8N800:pvr*
  KEYBOARD_KEY_81=prog1
 
+###########################################################
+# VIOS
+###########################################################
+
+evdev:name:SIPODEV USB Composite Device:dmi:bvn*:bvr*:bd*:svnVIOS:pnLTH17:pvr*
+ KEYBOARD_KEY_70073=f21                                 # Touchpad toggle
+
 ###########################################################
 # Zepto
 ###########################################################