Download Arduino IDE 2.3.6 if not done already (it does not run automatically in Unity sadly) Open Arduino IDE > file > open > find joystickmouse.ino found in this project Select your board and port: ...
Both projects were connected to an Unreal Engine virtual twin simulator for testing (see the included GIF above for a demonstration). Arduino-Joystick-Control/ ├── Hardware-Joystick-Control/ │ ├── ...