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

Where to find the correct naming for all the usages? #11

Closed
ddavidebor opened this issue May 29, 2023 · 1 comment
Closed

Where to find the correct naming for all the usages? #11

ddavidebor opened this issue May 29, 2023 · 1 comment

Comments

@ddavidebor
Copy link

Hi,

In the examples I see naming as "Generic Desktop" and "Mouse". Where does this software get these keys and the associated values? I cannot find where the machine-readable hid usage tables this software is getting the data from are

@matwilli
Copy link
Contributor

All definitions are from the official USB-IF HID-WG document for HID Usage Tables. This .PDF includes (as an embedded-file/attachment) a .JSON file with all keys/mappings.

That .PDF is downloaded (and embedded in HidSpecification.dll) as part of HidSpecification.csproj compilation. Then, during execution, the embedded .JSON from the embedded .PDF is extracted and read

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