First of all, I would like to say thanks to Zachery Littell for his Fight Stick [1] that helped me with the XInput communication. I will suffer a lot without his code because I did not know for where begin.
I ported his code from a TeensyLC to a STM32F103C8T6 development board. The HID was a little tricky but is working. It sends commands from the racing wheel to PC, but it can’t read the commands that comes from PC, like led position or motor rumble. I am working in this part yet.
The objective of this post is on how to make the electrical part of the racing wheel. In a later post, I will talk about the structure. If you want to learn how the controller’s communication works, go to the Littell’s blog [1] where he gives a good explanation of how it works.