I’m working on a template to control local and single-player matches using Input System 1.7.0.
In the function ‘InputSystem.onDeviceChange += DevicesChanged’ I manage the connection and disconnection of my gamepads. Everything works seamlessly with wired gamepads, but when testing with Bluetooth, an issue arises specifically with PlayStation gamepads.
I can successfully disconnect the controllers by either disabling Bluetooth in Windows settings or removing the device from the devices list in Windows. However, when I hold the PS system button for 10 seconds to disable my PlayStation gamepad, the input system fails to recognize that it has been disconnected. This issue occurs with both the PS4 DualShock and PS5 DualSense controllers. Interestingly, I attempted to reproduce the problem with an Xbox controller, and it worked correctly.
Any insights or suggestions on how to address this disconnect recognition problem with PlayStation gamepads in Bluetooth mode would be greatly appreciated.