DS4 Controller bug
Description
If you connect via bluetooth a oem DS4 controller to retroarch and then hold down the ps4 button for 10 seconds which turns off the controller it will not disconnect from retroarch. if you turn the controller back on it will still be connected like nothing happened but if you start using a fight stick or something it will go to 2nd player as well because 1st is still taken by DS4 controller. this has been going on for quite awhile.
Expected behavior
My DS4 controller to disconnect and show as being disconnected as happens in any other emulator.
Actual behavior
DS4 connects great and works great with retroarch, it just simply never disconnects after you use it if you connect via bluetooth and turn it off with PS4 button being held for 10 seconds.
Steps to reproduce the bug
connect ds4 controller via bluetooth hold ds4 button for 10 sec to turn off controller nothing will happen on retroarch's end
Bisect Results
Has been going on at least since 1.15 but longer I believe.
Version/Commit
You can find this information under Information/System Information
- RetroArch: [version/commit]
Environment information
Windows 11
- Compiler: [In case you are running local builds]
https://github.com/libretro/RetroArch/issues/15732 There should be this bug now, the error after the controller is disconnected.
https://github.com/libretro/RetroArch/pull/15819 I don't know if this can solve your problem. You can try it.