Function SDL_JoystickGetAttached
pub unsafe extern "C" fn SDL_JoystickGetAttached(
joystick: *mut _SDL_Joystick,
) -> SDL_bool
Available on crate feature
dep_sdl2
only.Expand description
Get the status of a specified joystick.
\param joystick the joystick to query \returns SDL_TRUE if the joystick has been opened, SDL_FALSE if it has not; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_JoystickClose \sa SDL_JoystickOpen