udev: Add rules for Switch Pro Controller
This commit is contained in:
parent
bc862642d7
commit
ac85009184
|
@ -6,6 +6,12 @@
|
||||||
|
|
||||||
# Steam emulated controller
|
# Steam emulated controller
|
||||||
KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput"
|
KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput"
|
||||||
|
|
||||||
|
# Nintendo Switch Pro Controller over USB hidraw
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", GROUP="users", TAG+="uaccess"
|
||||||
|
|
||||||
|
# Nintendo Switch Pro Controller over bluetooth hidraw
|
||||||
|
KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0660", GROUP="users", TAG+="uaccess"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
boot.kernelModules = [ "uinput" ];
|
boot.kernelModules = [ "uinput" ];
|
||||||
|
|
Loading…
Reference in a new issue