pip install XInput-Python It can be inmported like this: import XInput Using XInput-Python XInput-Python provides a few functions: get_connected() -> (bool, bool, bool, bool)Query which controllers are connected (note: don't query each frame) ...
xinput2 bindings for python using ctypes module. Contribute to ferhatgec/xinput2 development by creating an account on GitHub.