HID: hid-debug: add missing evdev and HID codes
authorThomas Kuehne <thomas.kuehne@gmx.li>
Mon, 25 Mar 2024 01:23:15 +0000 (01:23 +0000)
committerJiri Kosina <jkosina@suse.com>
Wed, 3 Apr 2024 11:45:37 +0000 (13:45 +0200)
commit5465d9f5c6df6c10ee7f9fe03c33a81554e6d0c1
tree95bddc250a2f7fa29af6f96d6527acee4412884b
parent3e78a6c0d3e02e4cf881dc84c5127e9990f939d6
HID: hid-debug: add missing evdev and HID codes

Hid-debug's rdesc output for a game controller contained a few question
marks and numeric IDs instead of the expected descriptive names.

This happens because:
1) the mapping data is missing event codes defined in input-event-codes.h
2) HID usages aren't up to date
3) hid_resolv_usage fails to account for the sensor pages' modifiers

Add missing event codes and update HID to HUT 1.5.

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