Hi!
Here a python port of the Arduino/PIC PS2X gamepad library:
https://github.com/fma38/micropython/bl ... X/pys2x.py
I'm still optimizing the code, but I would be intersting to now if it works fine with all supported controllers; I only own a Sony DualShock 2.
PyS2X: gamepad PS2X library port
PyS2X: gamepad PS2X library port
Frédéric