ynsta / steamcontroller

Standalone Steam Controller Driver
MIT License
816 stars 59 forks source link

Turning the controller of and on again renders the controller unusable #68

Open zedwick opened 6 years ago

zedwick commented 6 years ago

With sc-xbox.py or sc-desktop.py running, no button presses are registered after turning the controller off and on again. Everything works perfectly prior to this.

The workaround is currently to stop and start the script, which allows use of the controller again. Though this is not always possible, especially if the controller is the primary input for the device.

Testing on Raspbian.

zedwick commented 6 years ago

I've since realised this problem only occurs if the controller is manually turned off by holding the steam button. If the controller is left to turn itself off, everything works fine the next time it is turned on.

pcs3rd commented 5 years ago

Yea, looks like this could (still) be an issue though... Especially on things like retropie... Want to turn off controller to save power? Can't use it again until restarting deamon, or under certain use cases, the retropie hardware. Hopefully, @ynsta sees this and potentially fixes the code after 2 years inactivity.