Skip to content

Instantly share code, notes, and snippets.

@dnmodder
dnmodder / fixcontroller.py
Last active October 3, 2024 21:43
This script should no longer be necessary thanks to the latest changes made to the master branch of the xpad [https://github.com/paroj/xpad] driver, please give it a try and report any regressions you find.
#!/usr/bin/env python3
import os
import sys
try:
import usb.core
import usb.util
except ImportError: