SDL_GetGamepadConnectionState

Get the connection state of a gamepad.

extern (C) nothrow @nogc extern
SDL_GetGamepadConnectionState

Parameters

gamepad SDL_Gamepad*

the gamepad object to query.

Return Value

the connection state on success or SDL_JOYSTICK_CONNECTION_INVALID on failure; call SDL_GetError() for more information.

Meta