Record HID reports in libinput record
As of b8a04553 libinput record
adds the HID report descriptor to the device information. Let's go one step further and also record the HID events themselves. Problem is, to do this sensibly, we'd need a HID parser.
- without a HID parser we can't print human-readable descriptions
- without a HID parser, we can't obfuscate key codes
- without a HID parser (and assumptions about the kernel behaviour) we can't match HID reports to the event nodes
The ideal situation is to record HID reports by default, because if we have to tell users to re-run libinput record --with-hid
or whatever, we might as well tell them to run hid-recorder
.
cc @bentiss