Game stops recognizing controller after disconnection

Make sure your primary screen hasn’t been deemphasized by some other program.

If some other program causes the mouse and keyboard to become active or another display to be moused over, your controller input will also not be registered as the game will be running in the background.

I use PS5 dual sense and have no issues.

I had to use DSX for a couple of games that had no native support, but you don’t want to use DSX with native support games because it can create double input.

Sorry you’re having this issue, I know playing wired is not feasible if you wanna play comfortable from bed or the sofa.

Try to see that your drivers are up to date.