canonical / steam-snap

Steam as a snap
https://snapcraft.io/steam
76 stars 10 forks source link

Steam controller bug #280

Open ashuntu opened 1 year ago

ashuntu commented 1 year ago

Discussed in https://github.com/canonical/steam-snap/discussions/268

Originally posted by **UnrealisticDino** June 25, 2023 Steam does not recognize that the controller is connected which means I can't remap inputs. With the adapter the controller does work mostly as expected. In Mighty No. 9 and 10 Second Ninja touching up or right on the left touch pad acts like holding right on the left analog stick until the touch pad is touched again on either the left or down areas. In A Story About My Uncle the right trigger doesn't work. If the controller is in Bluetooth mode the controller does not change inputs when in game and instead keeps behaving like a keyboard and mouse.
UnrealisticDino commented 1 year ago

This bug is specifically about the steam controller when only the snap version of steam is installed.

ashuntu commented 1 year ago

@UnrealisticDino is this still an issue with the current version of the Snap? We should have fixed a huge portion of controller problems. I happen to have a Steam controller too (with the included USB dongle) and have been able to use it just fine in Apex Legends, including changing the controller layout.

If it's no longer an issue, please close this issue. If it still is, make sure joystick and uinput plugs are connected, failing that, try installing steam-devices, e.g. sudo apt install --no-install-recommends steam-devices.

UnrealisticDino commented 1 year ago

I'll try to report back by tomorrow, but if I don't I will by the end of a week.

UnrealisticDino commented 1 year ago

@UnrealisticDino is this still an issue with the current version of the Snap? We should have fixed a huge portion of controller problems. I happen to have a Steam controller too (with the included USB dongle) and have been able to use it just fine in Apex Legends, including changing the controller layout.

If it's no longer an issue, please close this issue. If it still is, make sure joystick and uinput plugs are connected, failing that, try installing steam-devices, e.g. sudo apt install --no-install-recommends steam-devices.

I'm having the same issue on my pc and just to double check did a clean install of ubuntu 22.04 on my laptop. I did run sudo apt install --no-install-recommends steam-devices on both even though I already had steam devices installed on my pc. Use any connected joystick and uinput: allows access to the uinput device are both enabled and are enabled by default. Installing steam devices used to fix this issue which is why I said when only the snap version of steam is installed. I really should have been more clear about that looking back.

ashuntu commented 1 year ago

Does having the Steam deb installed still "fix" the issue for you?

UnrealisticDino commented 1 year ago

No. I remember that having the deb version installed made it so that the snap version could recognize that the steam controller was plugged in but now it shows that no controller is detected. I also remember that just having the deb installed fixed it but the deb did not have to be running. There are bigger issues to be fixed so don't mind if this is not a priority.

blain1972 commented 7 months ago

I was unable to get Steam to recognise my steam controller at all - although I was able to use to navigate around steam itself. I've been trying to get this working on and off for a few days. I had the relevant plugs connected to the snap and steam-devices installed.

After reading this I installed the .deb and I was able to connect it straight away.

I've uninstalled the snap for now.

vincenttschanz commented 3 weeks ago

I just installed Ubuntu 24.10 on a new PC and tried the Snap version of Steam. The Steam controller is still not detected on Steam (USB or wireless dongle) . Installing steam-devices didn't help.

I installed the Deb version and it detected the controller directly.

ashuntu commented 3 weeks ago

This issue is a bit tough to debug since our team does not own any Steam controllers and they are not sold anymore. However, here are the general things you should try and see if they fix any issues. If not, then it's useful to note what you've tried and what works/doesn't. Note: these aren't always individual fixes, sometimes it may be useful to try combinations of them.

And as always, logs can sometimes be helpful (both the text log files from Steam and the DENIED logs from dmesg).