hidrdd icon indicating copy to clipboard operation
hidrdd copied to clipboard

Extract HID Usage definitions from a PDF/JSON spec

Open DJm00n opened this issue 2 years ago • 1 comments

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?

DJm00n avatar Jan 25 '23 08:01 DJm00n

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 :)

abend0c1 avatar Jan 25 '23 11:01 abend0c1