mirror of
https://github.com/RetroDECK/Wiki.git
synced 2024-11-25 15:15:40 +00:00
Wiki: Udev
This commit is contained in:
parent
af4510333f
commit
9ecd95eca1
|
@ -8,6 +8,13 @@ Yes, but the connected controllers shows up as Generic Controllers.
|
|||
### Linux Kernel Support
|
||||
Yes, acts a normal USB-hub.
|
||||
|
||||
### Udev rule
|
||||
|
||||
```
|
||||
# Nintendo GameCube Controller / Adapter; USB
|
||||
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337", MODE="0660", TAG+="uaccess"
|
||||
```
|
||||
|
||||
## How to connect?
|
||||
|
||||
In most cases you just need to connect it via USB and put the device in PC mode on the switch.
|
||||
|
|
|
@ -10,6 +10,21 @@ Yes
|
|||
### Linux Kernel Support
|
||||
Yes, since 5.16 - `hid-nintendo`
|
||||
|
||||
### Udev rules
|
||||
|
||||
```
|
||||
# Nintendo Switch Joy-Con Charging Grip; USB
|
||||
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="200e", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Nintendo Switch Joy-Con (L); Bluetooth
|
||||
KERNEL=="hidraw*", KERNELS=="*057E:2006*", MODE="0660", TAG+="uaccess"
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2006", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Nintendo Switch Joy-Con (R); Bluetooth
|
||||
KERNEL=="hidraw*", KERNELS=="*057E:2007*", MODE="0660", TAG+="uaccess"
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2007", MODE="0660", TAG+="uaccess"
|
||||
```
|
||||
|
||||
## What is the Official RetroDECK - Steam Input Profile called?
|
||||
|
||||
- Switch Pro: `RetroDECK: Switch Joycons`
|
||||
|
|
|
@ -10,6 +10,20 @@ Yes
|
|||
### Linux Kernel Support
|
||||
Yes, since 5.16 - `hid-nintendo`
|
||||
|
||||
### Udev rules
|
||||
|
||||
```
|
||||
# Nintendo Switch Pro Controller over USB hidraw
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Nintendo Switch Pro Controller over bluetooth hidraw
|
||||
KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Grand access for some userspace tools, if connected via USB
|
||||
SUBSYSTEM=="usb", ATTR{idProduct}=="2009", ATTR{idVendor}=="057e", ENV{ID_INPUT_JOYSTICK}="1", TAG+="uaccess"
|
||||
```
|
||||
|
||||
|
||||
## What is the Official RetroDECK - Steam Input Profile called?
|
||||
|
||||
- Switch Pro Controller: `RetroDECK: Switch Pro`
|
||||
|
|
Loading…
Reference in a new issue