Jul 26, 2024: Use the HidUsageTables.json file in the
HID Usage Tables 1.5
PDF attachment from https://www.usb.org/hid
to parse the UsagePage and Usage to make it easier to synchronize with the latest specifications.
June 15, 2014: A small modification of the code by Nick Brook (http://nickbrook.me/) allowed for long hex strings to be parsed.
Jan 12, 2015: Fixed BCD decoding, and error scoring, with feedback from Aki.
Dec 12, 2016: Added decoding for descriptors belonging to audio class devices.