SDL_GamepadConnected

Check if a gamepad has been opened and is currently connected.

extern (C) nothrow @nogc extern
bool
SDL_GamepadConnected

Parameters

gamepad SDL_Gamepad*

a gamepad identifier previously returned by SDL_OpenGamepad().

Return Value

Type: bool

true if the gamepad has been opened and is currently connected, or false if not.

Meta