Comments (3)
Thank you for your response.
I do not know the exact update number, but the Nintendo Switch Pro Controller had it's firmware updated to allow play through USB as well as bluetooth. Plugging it into a PC shows a joystick on which some of the buttons are permanently pressed. There is a way to use the controller on UNIX-like OS's using the git repository HID-Joy-Con-Whispering, but it does not disable the original joystick input therefore causing problems when mapping buttons in games.
The Nintendo Switch Pro Controller's idVendor
is 057e
and it's idProduct
is 2009
from udev-joystick-blacklist.
Hello! What do you mean by "recently got USB functionality" and by "messes up joystick input"? If it is a joystick that is recognized as a USB joystick, why do we want to blacklist it?
Also, we need the vendor_id and product_id of the device.
from udev-joystick-blacklist.
I can confirm what @TheRealDxRed said.
Here is what happens when I plug the controller:
mai 03 00:42:27 leeo-arch-msi kernel: usb 1-4: new full-speed USB device number 19 using xhci_hcd
mai 03 00:42:27 leeo-arch-msi kernel: usb 1-4: New USB device found, idVendor=057e, idProduct=2009
mai 03 00:42:27 leeo-arch-msi kernel: usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
mai 03 00:42:27 leeo-arch-msi kernel: usb 1-4: Product: Pro Controller
mai 03 00:42:27 leeo-arch-msi kernel: usb 1-4: Manufacturer: Nintendo Co., Ltd.
mai 03 00:42:27 leeo-arch-msi kernel: usb 1-4: SerialNumber: 000000000001
mai 03 00:42:27 leeo-arch-msi kernel: input: Nintendo Co., Ltd. Pro Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:057E:2009.000D/input/input48
mai 03 00:42:27 leeo-arch-msi kernel: hid-generic 0003:057E:2009.000D: input,hidraw1: USB HID v1.11 Joystick [Nintendo Co., Ltd. Pro Controller] on usb-0000:00:14.0-4/input0
Also, I tried with these rules:
SUBSYSTEM=="input", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
But without success. 😞
from udev-joystick-blacklist.
Related Issues (20)
- Add Roccat Tyon Mouse HOT 4
- Bloody mouse not removed
- Thank you HOT 2
- Please add [T3] 2.4GHz and IR Air Mouse Remote Control
- Upstream the rules? HOT 2
- /lib/udev/rules.d/51-these-are-not-joysticks-rm.rules vs /etc/udev/rules.d/51-these-are-not-joysticks.rules
- Here is what solved for me
- Wacom Intuos Pen (S) CTL-480 isn't in the blacklist HOT 2
- Logitech iTouch Composite
- Corsair Harpoon Gaming Mouse HOT 1
- Extra keyboard plus question about removal HOT 2
- Add Support for STRAFE RGB HOT 1
- Teensy LC (Keyboard Only)
- Corsair Harpoon RGB Wireless
- Add Roccat Kone Pure SEL Mouse HOT 1
- Add IPMI Virtual keyboard and mice (American Megatrends Inc) HOT 1
- Add ASUS ROG PUGIO II HOT 1
- Idea: use a hardware database to preemptively add many devices to this list
- Cideko air keyboard HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from udev-joystick-blacklist.