ChrisNZL / Tallowmere2

Changelog, issue tracker, and development knowledge for Tallowmere 2.
https://tallowmere2.com
13 stars 0 forks source link

Steam Input: Controllers do not work if connected mid-game #1157

Closed ChrisNZL closed 11 months ago

ChrisNZL commented 1 year ago

Noticed in 0.3.7h.

If a controller is plugged in during startup, everything works fine.

But if no controller is plugged in at startup, then plugged in mid-game, actions do not work. Steam Input detects the controller okay, and everything else is working on the backend as far as I can tell... but seeing if a button is held just doesn't work; its held state is always false.

Steamworks-dev-only forum thread:


For 0.3.7i, I am adding a warning alert if a controller is plugged in mid-game, advising the player to restart the game if controller input is not working.


Tasks:

ChrisNZL commented 11 months ago

I don't know. It's a bug. The game catches the bug currently and informs the player. Good enough.