Emulator Issues #13009
closedWGInput device doesn't dissapear after unplugging controller
0%
Description
What's the problem? Describe what went wrong.
WGInput devices don't seem to be cleared correctly, when I plug in my DS4, it shows up after a refresh but after unplugging it stays in the list, even after a refresh. After I plug in a different controller it still only shows the previously unplugged controller. Only restarting Dolphin seems to fix it.
Another discovery I made is that WGInput and DInput controllers don't automatically show up, now requiring a refresh. SDL doesn't have this issue and correctly appears and dissapears in the list.
What steps will reproduce the problem?
Plug in a controller, notice that WG/DInput don't show up, refresh, they show up, unplug, they don't dissapear, refresh, DInput dissapears and WGInput stays.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
5.0-17153
Is the issue present in the latest stable version?
No
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
I only tested 5.0-16214, the first build with WGInput, WGInput and DInput work correctly in that build. I don't have time now for a bisect, will do that later.
What are your PC specifications? (CPU, GPU, Operating System, more)
W11
R5 3600X
GTX 1060
Dualshock 4
Files