diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-02-19 18:24:09 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2018-02-19 20:20:40 +0100 |
commit | d4a5df521d8349eefe19b9a9381986282f9a1e59 (patch) | |
tree | 28b82f9db795b8dafe9991246a7bf385e612e10c /hwdb/60-keyboard.hwdb | |
parent | a9186f27ad28e8416c727b7df9bc92e3cdc33967 (diff) | |
download | systemd-d4a5df521d8349eefe19b9a9381986282f9a1e59.tar.gz |
hwdb: Add quirk to fix mapping of T-bao Tbook air touchpad toggle key
The touchpad toggle key (Fn + Esc) on the T-bao Tbook air sends CTRL +
META + scancode 0x76 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.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'hwdb/60-keyboard.hwdb')
-rw-r--r-- | hwdb/60-keyboard.hwdb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index 02c31e2307..2e76dce865 100644 --- a/hwdb/60-keyboard.hwdb +++ b/hwdb/60-keyboard.hwdb @@ -1204,6 +1204,13 @@ evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVPC*:pvr* KEYBOARD_KEY_0e=up # Fn+F10 zoomin ########################################################### +# T-bao +########################################################### + +evdev:atkbd:dmi:bvn*:bvr*:bd*:svnT-bao:pnTbookair:pvr* + KEYBOARD_KEY_76=f21 # Touchpad toggle + +########################################################### # Toshiba ########################################################### |