Return whether a gamepad is currently connected.
Defined in <SDL3/SDL_gamepad.h>
void); SDL_bool SDL_HasGamepad(
Returns SDL_TRUE if a gamepad is connected, SDL_FALSE otherwise.
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction