denilsonsa / udev-joystick-blacklist

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

A4 Tech Bloody B540 #15

Closed Vinus1 closed 8 years ago

Vinus1 commented 8 years ago

The B540 is also detected as a joystick (which caused me a lot of problems while gaming).

The lsusb:

Bus 004 Device 012: ID 09da:f32a A4 Tech Co., Ltd 

Here is the fix:

SUBSYSTEM=="input", ATTRS{idVendor}=="09da", ATTRS{idProduct}=="f32a", KERNEL=="js[0-9]*", MODE="0000", ENV{ID_INPUT_JOYSTICK}=""