2021-01-05 09:14 AM
Hi all,
I'm Pierre, I am new to this community!
I have found many great tips for some of my problems, but I moved into custom HID and I'm stuck.
So here's what I am trying to do.
I have two slave cards sending I2C data to the master. This is working great.
I do a bit of work with this data and then, I try to send it over USB as a joystick controler.
I have managed to set up my HID report, descriptor size, and outreport buffer size setup
I get the device reported as expected.
But then I try to use:
USBD_CUSTON_HID_SendReport
and the compile fails if I don't include usbd_customhid.h in my main.
So I include it, try sending data and... nothing happens. I am obviously doing something wrong but I don't know where.
If you guys have any tips, I'll take it!
Thanks!
Solved! Go to Solution.
2021-01-07 10:12 AM
2021-01-07 10:12 AM
Solved.
I forgot to include the report ID in the the out data.