From a9312ead5720922e1c06b541ea48b6db3f289d36 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 3 Feb 2025 22:37:45 +0200 Subject: 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 --- udev/71-thrustmaster-steamdeck.rules | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 udev/71-thrustmaster-steamdeck.rules (limited to 'udev/71-thrustmaster-steamdeck.rules') 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" -- cgit v1.3