1
0
Fork 0
mirror of https://github.com/SparksterZeroS/udev-joystick-blacklist.git synced 2026-01-30 04:18:58 +01:00
Fix for keyboard/mouse/tablet being detected as joystick in Linux
Find a file
Anthony I. Jackson Jr. fbb2e9c752 Project Reset
tl;dr A lot of refactoring. Python -> Lua. Device IDs in a separate file.

Believe it or not, a lot of these changes were done on a separate repository.
However, I decided not to keep the commit messages as they were really messy and
kind of unprofessional (not like that matters.)

Anyways, here's the rundown.
I changed the way the udev rules were generated. Replacing Python with Lua for no real reason other than I just wanted to learn it and what a better way to do it by trying to write a
somewhat advanced text parser and generator. Device IDs were put into the "devices" files, hence the "text parser" statement from the previous sentence.
2026-01-15 23:54:08 -05:00
dist Project Reset 2026-01-15 23:54:08 -05:00
devices Project Reset 2026-01-15 23:54:08 -05:00
generate_rules.lua Project Reset 2026-01-15 23:54:08 -05:00
README.md Project Reset 2026-01-15 23:54:08 -05:00

udev-joystick-blacklist

A list of devices to blacklist as joysticks/controllers.

Brief

This repository is essentially a list of devices that are blacklisted from be detected as some sort of game controller.
A need for a fix like this arrises when trying to play video games that expect the first detected game controller to... actually be a game controller.
As such, this project, udev-joystick-blacklist by @denilsonsa on Github was born.

There are several forks that do continue the legacy of the original project. However, this is just one of them.

License

In light of the original project, this is also Public Domain.
Feel free to copy and share it however you like.

However, please note that there is no warrenty when using a work-around like this.
As such, any damage caused to your device(s) are your responsiblity.