I'm trying to understand the startWirelessControllerDiscovery
method from GCController.
I'm able to pair a Playstation controller in Settings.app > Bluetooth. It works perfectly in my game afterward.
But I'm also trying to let the user perform the pairing directly from the game. The controller is unknown to the device at this point. I'm executing startWirelessControllerDiscovery
in the code but nothing happens. The controller is in "pairing mode" but isn't connecting/pairing. My expectation would be that the controller connects to the device in the same way as manually selecting it from settings.
If startWirelessControllerDiscovery
isn't supporting this scenario then what is the intended purpose?