Controller issue: assuming the controllers are connected via Bluetooth, try disabling Bluetooth on your computer while the controller is connected, and the game is running. If you are lucky, it will trigger a similar situation, and you can see what you need to do to continue using a re-connected controller in the framework you're using.
Best of luck!