Simulate keyboard to use an arduino-adapted PS2 joypad.
The C# app depends on the InputSimulator library. Watch it at: https://inputsimulator.codeplex.com/
The Arduino project is based on the PS2X library. Watch it at: https://github.com/madsci1016/Arduino-PS2X