summarylogtreecommitdiffstats
path: root/99-ds4-controllers.rules
diff options
context:
space:
mode:
authorSematre2021-04-04 21:13:50 +0200
committerSematre2021-04-04 21:16:56 +0200
commite1bec52f27c220d3730846e0702ddf690f87a3f6 (patch)
treeed6ac273fd25ebc6a036c7ed07de5fddc80f8fea /99-ds4-controllers.rules
parente8ae18d40b1e8b2a86bedac800707afc62b509a3 (diff)
downloadaur-e1bec52f27c220d3730846e0702ddf690f87a3f6.tar.gz
Reorganize PKGBUILD and add installation note
Diffstat (limited to '99-ds4-controllers.rules')
-rw-r--r--99-ds4-controllers.rules14
1 files changed, 14 insertions, 0 deletions
diff --git a/99-ds4-controllers.rules b/99-ds4-controllers.rules
new file mode 100644
index 000000000000..6061debfbff8
--- /dev/null
+++ b/99-ds4-controllers.rules
@@ -0,0 +1,14 @@
+# DualShock 4 over USB
+KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"
+
+# DualShock 4 Wireless Adapter over USB
+KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0666"
+
+# DualShock 4 Slim over USB
+KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"
+
+# DualShock 4 over Bluetooth
+KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666"
+
+# DualShock 4 Slim over Bluetooth
+KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0666"