Function SDL_GetJoystickConnectionState
pub unsafe extern "C" fn SDL_GetJoystickConnectionState(
joystick: *mut SDL_Joystick,
) -> SDL_JoystickConnectionState
Available on crate feature
dep_sdl3
only.Expand description
Get the connection state of a joystick.
§Parameters
joystick
: the joystick to query.
§Return value
Returns the connection state on success or
SDL_JOYSTICK_CONNECTION_INVALID
on failure; call SDL_GetError()
for more information.
§Availability
This function is available since SDL 3.2.0.