Hi
this is not a question - I'd like to give feedback about the peripheral example usbd_hid_generic.
I'm new to 52840 and new to USB. As learning lesson I tried to build an audio volume control starting from example usbd_hid_generic.
After the exercise I think that this example is not that generic after all: it implements a mouse and uses predefined definitions from the library. I had to read the library code to find out, I have to define Report Descriptor and to remove the boot subprotocol (keyboard and mouse are supported by BIOS). In the end I had a lot more files than expected. Maybe a third example would make sense: something simple from scratch showing how to include Report Descriptor definition - avoiding the special cases keyboard/mouse.
One point I haven't yet figured out: I can define Report_ID in the descriptor - but how modify the code in order to get the Report_ID transmitted? (maybe this be shown in the example)
best regards
Peter