denilsonsa / udev-joystick-blacklist

Fix for keyboard/mouse/tablet being detected as joystick in Linux
118 stars 27 forks source link

Add applesmc js0? #3

Open odensc opened 8 years ago

odensc commented 8 years ago

I ran into this problem a few times when I used to use my MacBook. It would stop games from recognizing my real Xbox controller because they would think the accelerometer which got registered as js0 is a gamepad, therefore not detecting my actual controller.

denilsonsa commented 8 years ago

Are you running Linux on MacBook?

If yes, can you try something like this?

SUBSYSTEM=="input", ATTRS{name}=="applesmc", KERNEL=="js[0-9]*", MODE="0000", ENV{ID_INPUT_JOYSTICK}=""