Skip to content

Commit

Permalink
xpadneo: Work around invalid mapping in Steam Link
Browse files Browse the repository at this point in the history
Steam Link has access to the hidraw device using the input group, thus
revoke all access bits from the device to work around the issue.

Fixes: #291
Signed-off-by: Kai Krakow <[email protected]>
  • Loading branch information
kakra committed Jun 25, 2021
1 parent 4fa679b commit 0b6e7af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hid-xpadneo/etc-udev-rules.d/60-xpadneo.rules
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
ACTION=="add", KERNEL=="0005:045E:02FD.*|0005:045E:02E0.*|0005:045E:0B05.*|0005:045E:0B13.*", SUBSYSTEM=="hid", DRIVER!="xpadneo", ATTR{driver/unbind}="%k", ATTR{[drivers/hid:xpadneo]bind}="%k"
ACTION=="add|change", DRIVERS=="xpadneo", SUBSYSTEM=="input", TAG+="uaccess"

#FIXME(issue-291) Work around Steamlink not properly detecting the mappings
ACTION=="add|change", DRIVERS=="xpadneo", SUBSYSTEM=="hidraw", MODE:="0000"

0 comments on commit 0b6e7af

Please sign in to comment.