]> git.ipfire.org Git - thirdparty/systemd.git/commit
hwdb: 60-keyboard: Support the buttons on CZC P10T tablet
authorLubomir Rintel <lkundrak@v3.sk>
Sat, 21 Jul 2018 22:25:51 +0000 (00:25 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 18 Feb 2022 07:27:17 +0000 (08:27 +0100)
commitf2f11dfbb7f30d279ab3c9b3c84de5496407112d
tree050ad42af4f6139a4d9ecb81cca06bb80ab91075
parentf370708084bf0d81e43360db103a44cbd2ed4aad
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.
hwdb.d/60-keyboard.hwdb