From: Tobias Jakobi Date: Thu, 6 Jun 2024 21:17:00 +0000 (+0200) Subject: hwdb: add keyboard mappings for the Ayaneo Kun face buttons X-Git-Tag: v256~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9afc6ac87c01c70917e996e7d3e2d381bf2b4f07;p=thirdparty%2Fsystemd.git hwdb: add keyboard mappings for the Ayaneo Kun face buttons See comment in hwdb file for details. --- diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index 461b9a7cb4f..f1ea0f58b18 100644 --- a/hwdb.d/60-keyboard.hwdb +++ b/hwdb.d/60-keyboard.hwdb @@ -279,6 +279,22 @@ evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:*:svnASUSTeKCOMPUTERINC.:pnT evdev:name:gpio-keys:phys:gpio-keys/input0:ev:100003:dmi:*:svnASUSTeKCOMPUTERINC.:pnTF103C*:* KEYBOARD_KEY_0=volumedown +########################################################### +# Ayaneo +########################################################### + +# The Ayaneo Kun is a portable PC handheld console. Four of its +# face buttons are not exposed through the integrated Xbox360 +# controller, but by a raw AT keyboard. +# +# All four of these buttons generate a multi-scancode sequence +# consisting of Left_Meta, Right_Ctrl and another scancode. +evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAYANEO:pnKUN:pvr* + KEYBOARD_KEY_18=f13 # LC (next to the left shoulder button) + KEYBOARD_KEY_20=f14 # RC (next to the right shoulder button) + KEYBOARD_KEY_30=f15 # Start (upper-right corner of screen) + KEYBOARD_KEY_28=f16 # Ayaneo (lower-right corner of screen) + ########################################################### # BenQ ###########################################################