From: QuickSwift315490 Date: Wed, 17 Dec 2025 13:26:47 +0000 (+0800) Subject: hwdb: fix unstable button triggering on Mipad 2 under GNOME (#40071) X-Git-Tag: v259~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9425092c62461a7164f4253f64929603d26af52;p=thirdparty%2Fsystemd.git hwdb: fix unstable button triggering on Mipad 2 under GNOME (#40071) Change unknown key mappings to reserved. A KEY_RESERVED button is marked as reserved and passed to the kernel. This will stop the kernel from passing this keystroke event to user space. If unknown, the key is set to KEY_UNKNOWN and the event is passed to user space, which we want to avoid. --- diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index 715d67dbb0c..f47802a9059 100644 --- a/hwdb.d/60-keyboard.hwdb +++ b/hwdb.d/60-keyboard.hwdb @@ -2132,8 +2132,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnINET:pnP325J:* # 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_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