Here is an example with the callback. The 4th arguments of the register callback function allows to receive connection "notification" for pads that are already connected, otherwise you'd need to disconnect and reconnect the gamepad.
Here is an example with the callback. The 4th arguments of the register callback function allows to receive connection "notification" for pads that are already connected, otherwise you'd need to disconnect and reconnect the gamepad.