I'm making a force feedback wheel with an STM32F103. So I had to learn about HID.
I made a very simple descriptor, to begin with.
I'm supposed to see the buttons count in binary in the controller visualizer but they're random.
Comparing the received value in USBlyser, when it's 0xA9, buttons 1, 4, 6, 8 are ON so I guess the µc just sends the wrong value?
Why would that be?
I've been stuck for 4 days on this
Or, do you know a good tutorial on STM32CubeIDE that would suit the case?
This website only shows the descriptor part.
I previously posted on StackOverflow if you need more info. => HERE
In usbd_custom_hid_if.c

In usbd_customhid.h

In usbd_conf.h

In main.c

and:

I made a very simple descriptor, to begin with.
I'm supposed to see the buttons count in binary in the controller visualizer but they're random.
Comparing the received value in USBlyser, when it's 0xA9, buttons 1, 4, 6, 8 are ON so I guess the µc just sends the wrong value?
Why would that be?
I've been stuck for 4 days on this
Or, do you know a good tutorial on STM32CubeIDE that would suit the case?
This website only shows the descriptor part.
I previously posted on StackOverflow if you need more info. => HERE
In usbd_custom_hid_if.c

In usbd_customhid.h

In usbd_conf.h

In main.c

and:
