From: Hans de Goede Date: Mon, 19 Feb 2018 17:11:30 +0000 (+0100) Subject: hwdb: Add quirk to fix mapping of VIOS LTH17 touchpad toggle key X-Git-Tag: v238~86^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a9186f27ad28e8416c727b7df9bc92e3cdc33967;p=thirdparty%2Fsystemd.git hwdb: Add quirk to fix mapping of VIOS LTH17 touchpad toggle key 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. --- diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index 799cf02f937..02c31e2307f 100644 --- a/hwdb/60-keyboard.hwdb +++ b/hwdb/60-keyboard.hwdb @@ -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 ###########################################################