21 Commits

Author SHA1 Message Date
kisak-valve
e39ca5dc13 Add PDP Wired Fight Pad Pro for Nintendo Switch
From https://github.com/ValveSoftware/steam-for-linux/issues/7341#issuecomment-790585951.
2021-03-04 08:31:54 -05:00
Timothee "TTimo" Besset
ebc0f6a9e3 Merge pull request #17 from ghost/master
Add support for Afterglow Deluxe+ wired controller
2020-12-28 14:19:09 +00:00
Mathieu Ricard
814e14b944 Add support for Afterglow Deluxe+ wired controller 2020-12-25 14:18:34 -05:00
Timothee "TTimo" Besset
3f9f151f8b Merge pull request #14 from FranklinsHand/master
Add support for Faceoff Wired Pro Controller
2020-12-02 08:41:03 -08:00
FranklinsHand
a9907d7998 Add support for Faceoff Wired Pro Controller
Add support for Faceoff Wired Pro Controller for Nintendo Switch.
It is an off-brand Nintendo switch pro controller, and Steam does not currently detect it.
2020-12-01 19:15:26 -05:00
Timothee "TTimo" Besset
442b412ae2 Merge pull request #13 from ValveSoftware/revert-12-patch-1
Revert "Add DualSense support"
2020-11-20 09:44:15 -06:00
Timothee "TTimo" Besset
269aaee99b Revert "Add DualSense support" 2020-11-20 09:44:03 -06:00
Timothee "TTimo" Besset
8536d8d199 Merge pull request #12 from cow-killer/patch-1
Add DualSense support
2020-11-20 09:31:02 -06:00
Sam Lantinga
f6166e225c Added support for the PS5 DualSense controller 2020-11-19 19:51:57 -08:00
cow_killer
2b22e5b4be Add DualSense support 2020-11-19 10:44:04 -05:00
Timothee "TTimo" Besset
46bd9ae695 Merge pull request #11 from chewi/master
eudev does not support escaped double quotes so use single quotes
2020-07-28 09:46:54 -05:00
James Le Cuirot
9414e34ab6 eudev does not support escaped double quotes so use single quotes
Closes #10
2020-07-22 22:42:08 +01:00
Timothee "TTimo" Besset
c3ef87a1c0 Merge pull request #9 from ndreys/lic-pro-fixup
Prototype workaround for PowerA Wireless Controller
2020-06-05 08:44:01 -05:00
Andrey Smirnov
7957f2ba49 Add a workaround for PowerA Wireless Controller
Add a workaround for PowerA Wireless Controller, which doesn't
report valid VID/PID via Bluetooth making it hard to properly tag it
with "uaccess" via UDEV.

The approach taken by this commit is to trigger on input device,
instead of the usual hidraw, and then rely on "udevadm test-builtin"
to apply "uacess" permission at runtime.

The reason to trigger on input device is because it is the first
device in device hierarchy that gets access to reported "name" which
is unique to this particular type of a controller and can be reliably
matched against.
2020-06-02 22:07:27 -07:00
Timothee "TTimo" Besset
47261809a5 Merge pull request #6 from blazingkin/master
Add support for the PowerA Nintendo Switch Controller
2020-03-09 17:39:48 -05:00
Timothee "TTimo" Besset
ce411b6191 Merge pull request #5 from exhumer2/patch-1
Add ASTRO C40 controller support for Steam
2020-03-09 17:39:28 -05:00
Timothee "TTimo" Besset
af9c25b320 Merge pull request #7 from ValveSoftware/horipad-switch
Add HORIPAD for Nintendo Switch
2020-03-09 17:37:54 -05:00
kisak-valve
d9f537da46 Add HORIPAD for Nintendo Switch
Reported and tested at https://github.com/ValveSoftware/steam-for-linux/issues/6944.
2020-03-03 12:27:00 -05:00
blazingkin
57fe06f818 Add support for the PowerA Nintendo Switch Controller 2019-11-18 18:19:38 -08:00
exhumer2
04ec95d1a0 Added ASTRO C40 controller support for Steam 2019-11-14 07:30:47 -07:00
Pierre-Loup A. Griffais
00aa8483cd Update 60-steam-input.rules 2019-11-02 14:48:05 -07:00

View File

@@ -25,12 +25,37 @@ KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0660", TAG+="uaccess"
# DualShock 4 Slim over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0660", TAG+="uaccess"
# PS5 DualSense controller over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ce6", MODE="0660", TAG+="uaccess"
# PS5 DualSense controller over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:0CE6*", MODE="0660", TAG+="uaccess"
# Nintendo Switch Pro Controller over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess"
# Nintendo Switch Pro Controller over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0660", TAG+="uaccess"
# Faceoff Wired Pro Controller for Nintendo Switch
KERNEL=="hidraw*", ATTRS{idVendor}=="0e6f", ATTRS{idProduct}=="0180", MODE="0660", TAG+="uaccess"
# PDP Wired Fight Pad Pro for Nintendo Switch
KERNEL=="hidraw*", ATTRS{idVendor}=="0e6f", ATTRS{idProduct}=="0185", MODE="0660", TAG+="uaccess"
# PowerA Wired Controller for Nintendo Switch
KERNEL=="hidraw*", ATTRS{idVendor}=="20d6", ATTRS{idProduct}=="a711", MODE="0660", TAG+="uaccess"
# PowerA Wireless Controller for Nintendo Switch we have to use
# ATTRS{name} since VID/PID are reported as zeros. We use /bin/sh
# instead of udevadm directly becuase we need to use '*' glob at the
# end of "hidraw" name since we don't know the index it'd have.
#
KERNEL=="input*", ATTRS{name}=="Lic Pro Controller", RUN{program}+="/bin/sh -c 'udevadm test-builtin uaccess /sys/%p/../../hidraw/hidraw*'"
# Afterglow Deluxe+ Wired Controller for Nintendo Switch
KERNEL=="hidraw*", ATTRS{idVendor}=="0e6f", ATTRS{idProduct}=="0188", MODE="0660", TAG+="uaccess"
# Nacon PS4 Revolution Pro Controller
KERNEL=="hidraw*", ATTRS{idVendor}=="146b", ATTRS{idProduct}=="0d01", MODE="0660", TAG+="uaccess"
@@ -49,6 +74,9 @@ KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8384", MODE="0660
# EMiO Elite Controller for PS4
KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="1cf6", MODE="0660", TAG+="uaccess"
# ZeroPlus P4 (hitbox)
KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="0ef6", MODE="0660", TAG+="uaccess"
# HORI RAP4
KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="008a", MODE="0660", TAG+="uaccess"
@@ -58,6 +86,9 @@ KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0055", MODE="0660
# HORIPAD 4 FPS Plus
KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0066", MODE="0660", TAG+="uaccess"
# HORIPAD for Nintendo Switch
KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="00c1", MODE="0660", TAG+="uaccess"
# Armor Armor 3 Pad PS4
KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="0e10", MODE="0660", TAG+="uaccess"
@@ -72,3 +103,6 @@ KERNEL=="hidraw*", ATTRS{idVendor}=="0955", ATTRS{idProduct}=="7210", MODE="0660
# NVIDIA Shield Controller (2017 - NVIDIA_Controller_v01.04 over bluetooth hidraw)
KERNEL=="hidraw*", KERNELS=="*0955:7214*", MODE="0660", TAG+="uaccess"
# Astro C40
KERNEL=="hidraw*", ATTRS{idVendor}=="9886", ATTRS{idProduct}=="0025", MODE="0660", TAG+="uaccess"