]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb/keyboard: fix enter key for X+ piccolo
authorChristian Hesse <mail@eworm.de>
Wed, 1 Apr 2026 14:56:19 +0000 (16:56 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 1 Apr 2026 17:23:35 +0000 (18:23 +0100)
The main enter key gives a code for keypad one... Map it to
regular enter key.

hwdb.d/60-keyboard.hwdb

index a83c7e4b94d897b1cd0bea424480fdfbc8b2f791..771b7dc43e4777dbe66ae6061b820c51619ba55a 100644 (file)
@@ -2202,6 +2202,14 @@ evdev:name:FTSC1000:00 2808:509C Keyboard:dmi:*:svnXiaomiInc:pnMipad2:*
 evdev:atkbd:dmi:bvnTIMI*:bvr*:bd*:svnTIMI*:pnMiNoteBookPro*:*
  KEYBOARD_KEY_72=macro
 
+###########################################################
+# X+
+###########################################################
+
+# X+ piccolo series 81X (Intel N305, possibly more)
+evdev:input:b0011v0001p0001eAB83*
+ KEYBOARD_KEY_9c=enter                                  # KP_enter in the main area is wrong
+
 ###########################################################
 # Zepto
 ###########################################################