Files
pmaports-rtwo/device/testing/device-xiaomi-latte/keyboard.hwdb
T
Qs315490 416017bd34 xiaomi-latte: new device (Xiaomi Mi Pad 2)
The kernel version has been updated to mainline 6.16.0 and successfully compiled and tested.

Due to the device's specific requirements, it enforces the use of Secure Boot.
Disabling Secure Boot will reset it back to enabled after several reboots or DNX Fastboot sessions.

I had to resort to using shim and a self-signed certificate.

https://wiki.postmarketos.org/wiki/Xiaomi_Pad_2_(xiaomi-latte)

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7286>
2025-11-30 18:01:56 +00:00

15 lines
740 B
Plaintext

###########################################################
# 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=reserved # LeftCtrl -> ignore
KEYBOARD_KEY_700e3=reserved # 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