aboutsummaryrefslogtreecommitdiff
path: root/udev/71-thrustmaster-steamdeck.rules
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-02-03 22:37:45 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-02-03 22:37:45 +0200
commita9312ead5720922e1c06b541ea48b6db3f289d36 (patch)
tree27b082b6d0bca607dd54f95b2110d6508d13b6a4 /udev/71-thrustmaster-steamdeck.rules
parenta3e70e77d95c12e3fe11e0a7ccb67e7195e0e1ab (diff)
downloadhid-tmff2-a9312ead5720922e1c06b541ea48b6db3f289d36.tar.gz
hid-tmff2-a9312ead5720922e1c06b541ea48b6db3f289d36.zip
Separate uaccess to another udev file
+ My understanding is that mainly the SteamDeck requires uaccess, most other systems can do without. Unfortunately, due to a bug in SDL, uaccess causes most other systems to not detect input, so we don't want uaccess to be on by default, at least for now
Diffstat (limited to 'udev/71-thrustmaster-steamdeck.rules')
-rw-r--r--udev/71-thrustmaster-steamdeck.rules22
1 files changed, 22 insertions, 0 deletions
diff --git a/udev/71-thrustmaster-steamdeck.rules b/udev/71-thrustmaster-steamdeck.rules
new file mode 100644
index 0000000..3f3ea1e
--- /dev/null
+++ b/udev/71-thrustmaster-steamdeck.rules
@@ -0,0 +1,22 @@
+# T300RS PS3 normal mode
+# allow userspace access to wheel, seems to be required for some systems,
+# mainly the SteamDeck I believe
+KERNEL=="hidraw*", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b66e", MODE="0660", TAG+="uaccess"
+
+# T300RS PS3 advanced mode
+KERNEL=="hidraw*", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b66f", MODE="0660", TAG+="uaccess"
+
+# T300RS PS4 mode
+KERNEL=="hidraw*", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b66d", MODE="0660", TAG+="uaccess"
+
+# T248 + T128
+KERNEL=="hidraw*", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b696", MODE="0660", TAG+="uaccess"
+
+# TX
+KERNEL=="hidraw*", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b666", MODE="0660", TAG+="uaccess"
+
+# TSXW
+KERNEL=="hidraw*", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b692", MODE="0660", TAG+="uaccess"
+
+# TSPC
+KERNEL=="hidraw*", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b689", MODE="0660", TAG+="uaccess"