I made a gaming control panel using an Arduino Leonardo to play simulators. Currently using it for DCS World, but it should work in most games just like any joystick / gamepad.
Arduino Prebuilds Sensors, Joystick Into New Esplora Microcontroller | WIRED
2 axis analog joystick - Programming Questions - Arduino Forum
Tutorials On Arduino And Joystick Interface - Makerguides.com
Arduino Leonardo/Micro As Game Controller/Joystick : 10 Steps - Instructables
Arduino Leonardo/Micro As Game Controller/Joystick : 10 Steps - Instructables