summaryrefslogtreecommitdiffstats
path: root/hwdb.d/60-keyboard.hwdb
diff options
context:
space:
mode:
authorDerek J. Clark <derekjohn.clark@gmail.com>2024-06-17 20:49:30 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2024-06-18 11:38:53 +0200
commit7c6028bbcbd03f91e1c4b84dcf46b45e9672c2b6 (patch)
treeae951932c2b7dabbefd3cdb073b4c60f828d377c /hwdb.d/60-keyboard.hwdb
parentNEWS: fix typo (diff)
downloadsystemd-7c6028bbcbd03f91e1c4b84dcf46b45e9672c2b6.tar.xz
systemd-7c6028bbcbd03f91e1c4b84dcf46b45e9672c2b6.zip
Add OrangePi NEO Scancodes
Adds scancodes for the OrangePi NEO Handheld Gaming computer. This device ships with an AT Translated Set 2 Keyboard device that provides two buttons, ~~LC (Top Left) and RC (Top Right)~~ Home (front, bottom left) and Gamepad (front, bottom right). The scancodes do not properly map in Linux. This change maps these scancodes to ensure the hardware behaves as the OEM expects.
Diffstat (limited to 'hwdb.d/60-keyboard.hwdb')
-rw-r--r--hwdb.d/60-keyboard.hwdb9
1 files changed, 9 insertions, 0 deletions
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index d271f17005..81ffc69fa1 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1658,6 +1658,15 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnOQO*Inc.*:pnOQO*Model*2*:*
KEYBOARD_KEY_f3=volumeup
###########################################################
+# OrangePi
+###########################################################
+
+# NEO
+evdev:name:AT Translated Set 2 keyboard:dmi:*:svnOrangePi:pnNEO-01:*
+ KEYBOARD_KEY_66=f15 # Gamepad (front, bottom right)
+ KEYBOARD_KEY_67=f16 # Home (front, bottom left)
+
+###########################################################
# Ortek
###########################################################