Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract HID Usage definitions from a PDF/JSON spec #7

Open
DJm00n opened this issue Jan 25, 2023 · 1 comment
Open

Extract HID Usage definitions from a PDF/JSON spec #7

DJm00n opened this issue Jan 25, 2023 · 1 comment

Comments

@DJm00n
Copy link

DJm00n commented Jan 25, 2023

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?

@abend0c1
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants