• Thomas Kuehne's avatar
    HID: hid-debug: more informative output for EV_KEY · 132ea824
    Thomas Kuehne authored
    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: default avatarThomas Kuehne <thomas.kuehne@gmx.li>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
    132ea824
hid-debug.c 145 KB