SDL_GetJoystickConnectionState

Get the connection state of a joystick.

extern (C) nothrow @nogc extern
SDL_GetJoystickConnectionState

Parameters

joystick SDL_Joystick*

the joystick to query.

Return Value

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

Meta