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.
Add USB Game Controller to Arduino Leonardo/Micro : 9 Steps - Instructables