hwdb: add keyboard mappings for the Ayaneo Kun face buttons

See comment in hwdb file for details.
This commit is contained in:
Tobias Jakobi 2024-06-06 23:17:00 +02:00 committed by Yu Watanabe
parent 7b88bf087f
commit 9afc6ac87c

View File

@ -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
###########################################################