From: Derek J. Clark Date: Mon, 17 Jun 2024 18:49:30 +0000 (-0700) Subject: Add OrangePi NEO Scancodes X-Git-Tag: v257-rc1~1113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c6028bbcbd03f91e1c4b84dcf46b45e9672c2b6;p=thirdparty%2Fsystemd.git 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. --- diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index d271f17005f..81ffc69fa1b 100644 --- a/hwdb.d/60-keyboard.hwdb +++ b/hwdb.d/60-keyboard.hwdb @@ -1657,6 +1657,15 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnOQO*Inc.*:pnOQO*Model*2*:* KEYBOARD_KEY_f2=volumedown 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 ###########################################################