]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: hid-debug: more informative output for EV_KEY
authorThomas Kuehne <thomas.kuehne@gmx.li>
Sat, 13 Apr 2024 12:23:30 +0000 (12:23 +0000)
committerJiri Kosina <jkosina@suse.com>
Mon, 6 May 2024 21:16:41 +0000 (23:16 +0200)
commit132ea824930d485ab82c1635cb4b0b38db95eb80
tree2ffbbab377a3b319894cb24e4a009b8513299ebd
parent815234a4e7ebd3fdcdd25224bd92db63b77849b2
HID: hid-debug: more informative output for EV_KEY

Currently hid-debug's hid_resolv_event prints questions marks for
all entries without explicit mapping information. This makes
debugging unnecessarily complicated as multiple different
keys may simply result in the same uninformative output.

Some common event codes are deliberately not defined in
input-event-codes.h. For example the 16th gamepad key.

Instead, print the hexadecimal codes for all events without symbolic
names.

Signed-off-by: Thomas Kuehne <thomas.kuehne@gmx.li>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-debug.c