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 Leonardo pc joystick test - YouTube
GitHub - DeqingSun/Arduino_HID_frontendJS: Connect Arduino input to JS with joystick HID