Skip to content

Instantly share code, notes, and snippets.

View Breakthru's full-sized avatar

Marco Paladini Breakthru

View GitHub Profile
@Breakthru
Breakthru / fixcontroller.py
Created November 12, 2022 15:07 — forked from dnmodder/fixcontroller.py
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: