This repository contains the HID usage tables in a machine-readable format (under pages
),
and accompanying Python3 scripts (under src
) to parse them into a database,
and generate code for different programming languages.
The recent versions of the HID usage tables document contain a JSON attachment,
which can also serve as the input of the code generator.
- C++ (to be used with hid-rp)
Additional languages can be easily added by taking src/hid/codegen/cpp.py
as a template.