mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
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>
This commit is contained in:
parent
a9186f27ad
commit
d4a5df521d
|
@ -1203,6 +1203,13 @@ evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVPC*:pvr*
|
|||
KEYBOARD_KEY_0d=down # Fn+F9 zoomout
|
||||
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
|
||||
###########################################################
|
||||
|
|
Loading…
Reference in a new issue