Commit aa2e2f4843567cfe4e6f2f4ffa3f0b74dd98f1ba

Sam Lantinga 2022-09-22T18:22:17

Make sure HID devices can be opened before making them available to the application This prevents a number of issues where devices are enumerated but not actually able to be opened, like https://github.com/libsdl-org/SDL/issues/5781. We currently leave the devices open, allowing us to more easily do controller feature detection, protocol negotiation, detect dropped Bluetooth connections, etc. with the expectation that the application is likely to open the controllers shortly.