tinyusb
tinyusb copied to clipboard
HID report description parser
Ha Thach,
Thanks for this library!
I have been writing some functions to make make interpreting HID report descriptions easier.
I have tried to avoid 'unwrapping' the descriptor which can end up using lots of RAM. Instead, I've provided functions to help step through it.
Please see:
https://github.com/fruit-bat/tinyusb/compare/master...fruit-bat:hid_micro_parser
I would like to get to the point where the application code can use the parser to interpret joystick/gamepad reports. This is just the first step in that direction.
If you like the idea of the the suggested changes let me know and I will make a pull request.
Thank you, sorry for super late response, I have buried in work ever since the TET holiday. I will check your pr out as soon as I could