mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
hwdb: Add mapping for Xiaomi Mipad 2 bottom bezel capacitive buttons
The Xiaomi Mipad2 tablet has 3 capacitive buttons at the bottom. These 3 buttons are handled by the touchsceen (the touchscreen extends downwards to cover the bottom bezel). By default these send Windows specific shortcuts which do not work with Linux desktop environments: Menu: LeftMeta + S Home: LeftCtrl + Esc Back: Backspace Map these to menu / leftmeta (Windows key / Win 8 tablet home button key) / back.
This commit is contained in:
committed by
Luca Boccassi
parent
7e0e6b50b4
commit
5a99749453
@@ -1978,6 +1978,21 @@ evdev:name:SIPODEV USB Composite Device:dmi:bvn*:bvr*:bd*:svnVIOS:pnLTH17:*
|
||||
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnINET:pnP325J:*
|
||||
KEYBOARD_KEY_76=f21 # Touchpad toggle
|
||||
|
||||
###########################################################
|
||||
# Xiaomi
|
||||
###########################################################
|
||||
|
||||
# Fix mapping of menu / home / back capacitive buttons on bottom bezel
|
||||
# Menu: LeftMeta + S -> menu (ignore LeftMeta, map S to menu)
|
||||
# Home: LeftCtrl + Esc -> LeftMeta (ignore LeftCtrl, map Esc to LeftMeta)
|
||||
# Back: Backspace -> back (map backspace to back)
|
||||
evdev:name:FTSC1000:00 2808:509C Keyboard:dmi:*:svnXiaomiInc:pnMipad2:*
|
||||
KEYBOARD_KEY_700e0=unknown # LeftCtrl -> ignore
|
||||
KEYBOARD_KEY_700e3=unknown # LeftMeta -> ignore
|
||||
KEYBOARD_KEY_70016=menu # S -> menu
|
||||
KEYBOARD_KEY_70029=leftmeta # Esc -> LeftMeta (Windows key / Win8 tablets home)
|
||||
KEYBOARD_KEY_7002a=back # Backspace -> back
|
||||
|
||||
###########################################################
|
||||
# Zepto
|
||||
###########################################################
|
||||
|
||||
Reference in New Issue
Block a user