]> git.pld-linux.org Git - packages/systemd.git/blame - udev-steam_controller.rules
sync steam controller udev rules with steam-launcher 1.0.0.71
[packages/systemd.git] / udev-steam_controller.rules
CommitLineData
3185c02c
JP
1# Valve USB devices
2SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0660", TAG+="uaccess"
3
4# Steam Controller udev write access
5KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput"
6
7# Valve HID devices over USB hidraw
8KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0660", TAG+="uaccess"
9
10# Valve HID devices over bluetooth hidraw
11KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0660", TAG+="uaccess"
12
13# DualShock 4 over USB hidraw
14KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0660", TAG+="uaccess"
15
16# DualShock 4 wireless adapter over USB hidraw
17KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0660", TAG+="uaccess"
18
19# DualShock 4 Slim over USB hidraw
20KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0660", TAG+="uaccess"
21
22# DualShock 4 over bluetooth hidraw
23KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0660", TAG+="uaccess"
24
25# DualShock 4 Slim over bluetooth hidraw
26KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0660", TAG+="uaccess"
27
02969b7a
JP
28# PS5 DualSense controller over USB hidraw
29KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ce6", MODE="0660", TAG+="uaccess"
30
31# PS5 DualSense controller over bluetooth hidraw
32KERNEL=="hidraw*", KERNELS=="*054C:0CE6*", MODE="0660", TAG+="uaccess"
33
3185c02c
JP
34# Nintendo Switch Pro Controller over USB hidraw
35KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess"
36
37# Nintendo Switch Pro Controller over bluetooth hidraw
38KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0660", TAG+="uaccess"
39
1f0fd95a
JP
40# Faceoff Wired Pro Controller for Nintendo Switch
41KERNEL=="hidraw*", ATTRS{idVendor}=="0e6f", ATTRS{idProduct}=="0180", MODE="0660", TAG+="uaccess"
42
c0c62742
JP
43# PDP Wired Fight Pad Pro for Nintendo Switch
44KERNEL=="hidraw*", ATTRS{idVendor}=="0e6f", ATTRS{idProduct}=="0185", MODE="0660", TAG+="uaccess"
45
3185c02c
JP
46# PowerA Wired Controller for Nintendo Switch
47KERNEL=="hidraw*", ATTRS{idVendor}=="20d6", ATTRS{idProduct}=="a711", MODE="0660", TAG+="uaccess"
48
49# PowerA Wireless Controller for Nintendo Switch we have to use
50# ATTRS{name} since VID/PID are reported as zeros. We use /bin/sh
51# instead of udevadm directly becuase we need to use '*' glob at the
52# end of "hidraw" name since we don't know the index it'd have.
53#
02969b7a 54KERNEL=="input*", ATTRS{name}=="Lic Pro Controller", RUN{program}+="/bin/sh -c 'udevadm test-builtin uaccess /sys/%p/../../hidraw/hidraw*'"
3185c02c 55
1f0fd95a
JP
56# Afterglow Deluxe+ Wired Controller for Nintendo Switch
57KERNEL=="hidraw*", ATTRS{idVendor}=="0e6f", ATTRS{idProduct}=="0188", MODE="0660", TAG+="uaccess"
58
3185c02c
JP
59# Nacon PS4 Revolution Pro Controller
60KERNEL=="hidraw*", ATTRS{idVendor}=="146b", ATTRS{idProduct}=="0d01", MODE="0660", TAG+="uaccess"
61
62# Razer Raiju PS4 Controller
63KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="1000", MODE="0660", TAG+="uaccess"
64
c0c62742
JP
65# Razer Raiju 2 Tournament Edition
66KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="1007", MODE="0660", TAG+="uaccess"
67
3185c02c
JP
68# Razer Panthera Arcade Stick
69KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0401", MODE="0660", TAG+="uaccess"
70
71# Mad Catz - Street Fighter V Arcade FightPad PRO
72KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8250", MODE="0660", TAG+="uaccess"
73
74# Mad Catz - Street Fighter V Arcade FightStick TE S+
75KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8384", MODE="0660", TAG+="uaccess"
76
77# EMiO Elite Controller for PS4
78KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="1cf6", MODE="0660", TAG+="uaccess"
79
80# ZeroPlus P4 (hitbox)
81KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="0ef6", MODE="0660", TAG+="uaccess"
82
83# HORI RAP4
84KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="008a", MODE="0660", TAG+="uaccess"
85
86# HORIPAD 4 FPS
87KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0055", MODE="0660", TAG+="uaccess"
88
89# HORIPAD 4 FPS Plus
90KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0066", MODE="0660", TAG+="uaccess"
91
92# HORIPAD for Nintendo Switch
93KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="00c1", MODE="0660", TAG+="uaccess"
94
c0c62742
JP
95# HORIPAD mini 4
96KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="00ee", MODE="0660", TAG+="uaccess"
97
3185c02c
JP
98# Armor Armor 3 Pad PS4
99KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="0e10", MODE="0660", TAG+="uaccess"
100
101# STRIKEPAD PS4 Grip Add-on
102KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c5", MODE="0660", TAG+="uaccess"
103
104# NVIDIA Shield Portable (2013 - NVIDIA_Controller_v01.01 - In-Home Streaming only)
105KERNEL=="hidraw*", ATTRS{idVendor}=="0955", ATTRS{idProduct}=="7203", MODE="0660", TAG+="uaccess", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}=""
106
107# NVIDIA Shield Controller (2015 - NVIDIA_Controller_v01.03 over USB hidraw)
108KERNEL=="hidraw*", ATTRS{idVendor}=="0955", ATTRS{idProduct}=="7210", MODE="0660", TAG+="uaccess", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}=""
109
110# NVIDIA Shield Controller (2017 - NVIDIA_Controller_v01.04 over bluetooth hidraw)
111KERNEL=="hidraw*", KERNELS=="*0955:7214*", MODE="0660", TAG+="uaccess"
112
113# Astro C40
114KERNEL=="hidraw*", ATTRS{idVendor}=="9886", ATTRS{idProduct}=="0025", MODE="0660", TAG+="uaccess"
This page took 0.103562 seconds and 4 git commands to generate.