#maybe this functionality can move into

1 messages · Page 1 of 1 (latest)

brittle willow
#

yeah, I noticed on your stream how you mentioned various descriptor parsers getting implemented and maybe trying to consolidate. I'd definitely be open to people copying and pasting from my stuff, or perhaps making a PR. For the moment, I kinda want to keep going with the thing I have in order to focus on getting deeper into HID report descriptors. Once i get it working and publish a Playground guide, chopping it up for parts would be fine.

#

also, for my USB configuration descriptor parser, I ended up making a thing that can pretty easily detect boot-compatible mice and keyboards. I need that to distinguish between regular HID devices and different types of gamepads that use generic HID with various HID report formats.

#

It might be pretty easy to adapt the code I have now to make a boot-compatible keyboard or mouse tester. For the additional generic HID interfaces that keyboards often provide, it gets a bit more complicated as the report descriptors can be quite large (I've seen 400+ bytes).

round eagle
#

In case it is relevant (maybe all stuff you two know) I did write up a playground article on HID descriptors and some of the details I found when I made a game controller device.