You will need:
- Arduino Joystick Shield
- Python (preferably 2.7.6)
- Arduino IDE
- Windows computer (Mac and Linux won’t work)
- Zip file containing all needed code (see below)
Download and extract the zip to a new folder.
In this new folder you will find a subfolder called Sendkeys. Open up this Sendkeys folder and find the setup.py. Right click inside of Windows Explorer in empty space and Shift+Right-Click, Select “Open command window here”. Then in the window type “python setup.py install” without the quotes. If the command prompt cannot find the command “python”, see this link and follow the instructions under the first answer.
Open up the spatter.ino file. Select the correct port in Tools->Serial Port and take note of the port number. Click upload. When it is done, open the serial monitor in the tools menu and make sure you see a message being sent from the Arduino.
Run joystick-driver-windows.py and type in the COM port you are using. It should say that a connection has been established.
At this point you should be able to run the Flight Simulator and fly to your hearts content. Enjoy!
(See below for key layout.)
Long story short. If this tutorial doesn’t do exactly what you want to do. Get an Arduino Leonardo.