pub unsafe extern "C" fn SDL_GetGamepadConnectionState(
gamepad: *mut SDL_Gamepad,
) -> SDL_JoystickConnectionStateExpand description
Get the connection state of a gamepad.
Parameter: gamepad the gamepad object to query.
Returns: the connection state on success or
SDL_JOYSTICK_CONNECTION_INVALID on failure; call SDL_GetError()
for more information.
Thread Safety: It is safe to call this function from any thread.
Available Since: This function is available since SDL 3.2.0.