Skip to content

Instantly share code, notes, and snippets.

View KrisDevelopment's full-sized avatar
😃

Kris Development KrisDevelopment

😃
View GitHub Profile
@KrisDevelopment
KrisDevelopment / fixcontroller.py
Last active April 11, 2024 22:39 — 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
# A shell script wrapper generation for externally managed environemnts (eg. deb12).
if not os.path.exists("run.sh"):
with open("run.sh", "w") as f:
shell_src = """#!/bin/bash
python3 -m venv venv