This repo is archived because it is no longer used by CircuitPython. We recommend https://github.com/usb-tools/python-usb-protocol instead.
The adafruit_usb_descriptor library provides Python classes that make it easier to generate a binary USB descriptor. It can be used in place of a series of C macros.
This library has no external dependencies. It only uses Python struct.
A current usage example that generates descriptors for use with [TinyUSB](https://github.com/hathach/tinyusb) can be found here in CircuitPython.
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
.. toctree:: :maxdepth: 2 api