Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 668 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 668 Bytes

HID usage tables database

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.

Supported formats

  • C++ (to be used with hid-rp)

Additional languages can be easily added by taking src/hid/codegen/cpp.py as a template.