Skip to content

Commit 9afc6ac

Browse files
tobiasjakobiyuwata
authored andcommitted
hwdb: add keyboard mappings for the Ayaneo Kun face buttons
See comment in hwdb file for details.
1 parent 7b88bf0 commit 9afc6ac

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

hwdb.d/60-keyboard.hwdb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,22 @@ evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:*:svnASUSTeKCOMPUTERINC.:pnT
279279
evdev:name:gpio-keys:phys:gpio-keys/input0:ev:100003:dmi:*:svnASUSTeKCOMPUTERINC.:pnTF103C*:*
280280
KEYBOARD_KEY_0=volumedown
281281

282+
###########################################################
283+
# Ayaneo
284+
###########################################################
285+
286+
# The Ayaneo Kun is a portable PC handheld console. Four of its
287+
# face buttons are not exposed through the integrated Xbox360
288+
# controller, but by a raw AT keyboard.
289+
#
290+
# All four of these buttons generate a multi-scancode sequence
291+
# consisting of Left_Meta, Right_Ctrl and another scancode.
292+
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAYANEO:pnKUN:pvr*
293+
KEYBOARD_KEY_18=f13 # LC (next to the left shoulder button)
294+
KEYBOARD_KEY_20=f14 # RC (next to the right shoulder button)
295+
KEYBOARD_KEY_30=f15 # Start (upper-right corner of screen)
296+
KEYBOARD_KEY_28=f16 # Ayaneo (lower-right corner of screen)
297+
282298
###########################################################
283299
# BenQ
284300
###########################################################

0 commit comments

Comments
 (0)