There are two different ways you can use this sketch:
- You can use it as some sort of virtual vJoy device. This is what the sketch is doing at the moment. It will receive messages through the COM port and update the current position of the joystick. It can also send the current forces through the COM port. I'm using this in BrunnerDX repo to make the Brunner base appear as a DirectX joystick
- You can create your own Arduino based joystick using this library as a base. Instead of sending the position/forces through the COM port you can add potentiometers/motors directly.
There is currently experimental support for driving wheels on the wheel branch. I don't own any wheel or similar I could use for testing so if you want to donate them or if you are testing them yourself please let me know how it's working for you.