HID: asus: add ROG Ally N-Key ID and keycodes
authorLuke D. Jones <luke@ljones.dev>
Tue, 16 Apr 2024 09:04:01 +0000 (21:04 +1200)
committerJiri Kosina <jkosina@suse.com>
Mon, 6 May 2024 21:26:01 +0000 (23:26 +0200)
commit08b50c6b0b0940a304b481346cc187d489c6a751
tree1a0b9150a9a5999e8dba15d780d575e124caa5a0
parent2c82a7b20f7b7afcfacdde230e1233efc9c881e5
HID: asus: add ROG Ally N-Key ID and keycodes

A handful of buttons on the ROG Ally are not actually part of the xpad
device and are instead keyboard keys (a typical use of the MCU that asus
uses). We attach a group of F<num> key codes which aren't used much and
which the handheld community has already accepted as defaults here.

Signed-off-by: Luke D. Jones <luke@ljones.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-asus.c
drivers/hid/hid-ids.h