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.
How to Emulate an Xbox Controller with Arduino (XInput) - Parts Not Included