microsoft/hidtools

Where to find the correct naming for all the usages?

Closed this issue · 1 comments

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

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