Check if a gamepad has been opened and is currently connected.
Defined in <SDL3/SDL_gamepad.h>
gamepad | a gamepad identifier previously returned by SDL_OpenGamepad() |
Returns SDL_TRUE if the gamepad has been opened and is currently connected, or SDL_FALSE if not.
This function is available since SDL 3.0.0.