hidutils / hid-recorder

A utility to record HID data from /dev/hidraw devices
MIT License
1 stars 4 forks source link

Bail out if the report descriptor is empty #7

Closed whot closed 5 months ago

whot commented 5 months ago

0003:056A:03C4.0012.hid.bin is one example for an empty rdesc, let's bail out immediately with a more obvious error message than "Error: Invalid data at offset 0: Insufficient data"