diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-07-22 00:25:51 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-02-18 08:27:17 +0100 |
commit | f2f11dfbb7f30d279ab3c9b3c84de5496407112d (patch) | |
tree | 050ad42af4f6139a4d9ecb81cca06bb80ab91075 | |
parent | mkosi: Add more packages required to run systemd-networkd-tests.py (diff) | |
download | systemd-f2f11dfbb7f30d279ab3c9b3c84de5496407112d.tar.xz systemd-f2f11dfbb7f30d279ab3c9b3c84de5496407112d.zip |
hwdb: 60-keyboard: Support the buttons on CZC P10T tablet
The machine has tree buttons connected to an EC that acts as a regular
AT-compatible keyboard controller. It can be either in "Windows 7" or
"Android" mode. It boots up with the earlier, but the Android build on
the tablet switches it on bootup (Windows presumably leaves it as-is).
The "Windows 7" mode, the behavior is very inconvenient: the Home button
emits multiple key presses that presumably do something in Windws 7 while
the second button toggles the RF Kill Switch in addition to producing a
scancode (it's labeled "Back" on Android version of the tablet).
The "Android" mode just sends the good ol' scan codes and this patch
handles them. On mainline Linux, the "x86-android-tablets" driver makes
sure we're in the correct mode.
-rw-r--r-- | hwdb.d/60-keyboard.hwdb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index 3d6e56983b..66561eac35 100644 --- a/hwdb.d/60-keyboard.hwdb +++ b/hwdb.d/60-keyboard.hwdb @@ -1892,6 +1892,20 @@ evdev:input:b0003v1038p0310* KEYBOARD_KEY_70046=f6 ########################################################### +# CZC +########################################################### + +evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCZC:pnODEON*TPC-10:* + KEYBOARD_KEY_01=leftmeta # Home button held for 2s + KEYBOARD_KEY_db=prog1 # Home button + KEYBOARD_KEY_dd=rfkill # Second button labeled Wi-Fi + +evdev:atkbd:dmi:bvn*:bvr*:bd*:svnViewSonic:pnVPAD10:* + KEYBOARD_KEY_01=leftmeta # Home button held for 2s + KEYBOARD_KEY_db=prog1 # Home button + KEYBOARD_KEY_dd=back # Second button labeled Back + +########################################################### # Other ########################################################### |