hidrdd
hidrdd copied to clipboard
Extract HID Usage definitions from a PDF/JSON spec
I noted this text on https://www.usb.org/hid page:
The HID Usage Tables 1.3 document also includes all Usage definitions as a JSON file as an attachment to the PDF. The PDF serves as the 'single' source of truth.
And https://usb.org/sites/default/files/hut1_3_0.pdf have indeed HidUsageTables.json attached. Waratah tool used by USB-IF HID-WG committee have code that extracts that JSON and using it directly.
Maybe RDD! could have such code too instead (in addition to) of manually maintaining rd.conf file?
Thanks Dimitriy, I'll look into that.
I remember suggesting many years ago that they should publish a simple file containing all the known usages (on github maybe) - instead of their ridiculous collection of pdf and text files - but I was ignored, of course. I've been periodically updating rd.conf ever since.
Maybe someone at usb.org has finally seen the light :)