anyc / steam-overlay

Gentoo overlay for Valve's Steam client and Steam-based games
GNU General Public License v2.0
202 stars 44 forks source link

Additional udev rule needed to make some games work with the Steam controller #169

Open ltrager opened 8 years ago

ltrager commented 8 years ago

While the Steam controller works fine in the Steam console menu it is not working in certain games such as Shovel Knight. This only happens on Gentoo, on my Ubuntu machine the controller works everywhere. I was able to get it working by adding the following udev rule

KERNEL=="uinput", MODE="0660", GROUP="users", OPTIONS+="static_node=uinput"

Please add this to /lib/udev/rules.d/99-steam-controller-perms.rules

anyc commented 8 years ago

Hi, we had this problem before, see #157 (and #158). I am not sure if it is a good idea that our steam ebuilds modify the access rules for all uinput devices. I think it would be better to instruct systemd / udev+consolekit to adapt the permissions on demand or manually add the rules so the administrator is aware of the changes. If it the systemd / udev approach does not work, I guess we could add an additional elog notification to the ebuild. What do you think?

amak79 commented 8 years ago

@ltrager What steam-launcher version do you have installed? An appropriate udev rules file for the Steam Controller was added to steam-launcher-1.0.0.51-r1.