Same thing happens to me with an Xbox controller plugged into my PC with a USB cable. If it goes to sleep, I need to restart the game to use it again. And sometimes it suddenly stops working and sends a constant “analog stick down” command until I unplug it (which means I can’t use it anymore lol)