tinyusb icon indicating copy to clipboard operation
tinyusb copied to clipboard

HID report description parser

Open fruit-bat opened this issue 3 years ago • 1 comments

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.

fruit-bat avatar Feb 07 '22 22:02 fruit-bat

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

hathach avatar Mar 06 '22 03:03 hathach