]> git.ipfire.org Git - thirdparty/systemd.git/commit
hwdb: Add quirk to fix mapping of T-bao Tbook air touchpad toggle key 8223/head
authorHans de Goede <hdegoede@redhat.com>
Mon, 19 Feb 2018 17:24:09 +0000 (18:24 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 19 Feb 2018 19:20:40 +0000 (20:20 +0100)
commitd4a5df521d8349eefe19b9a9381986282f9a1e59
tree28b82f9db795b8dafe9991246a7bf385e612e10c
parenta9186f27ad28e8416c727b7df9bc92e3cdc33967
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>
hwdb/60-keyboard.hwdb