Uses PyGame, so it should work with all gamepads that work in actual games.
Nasty code ;)
It requires the gamepad to have at least one analog stick.
Modify the script and set DRY_RUN
to True
to avoid contacting Valetudo during gamepad testing.