From a9186f27ad28e8416c727b7df9bc92e3cdc33967 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 19 Feb 2018 18:11:30 +0100 Subject: [PATCH] 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. --- hwdb/60-keyboard.hwdb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index 799cf02f93..02c31e2307 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 ###########################################################