Function sdl2_sys::SDL_JoystickGetAttached
source ยท pub unsafe extern "C" fn SDL_JoystickGetAttached(
joystick: *mut SDL_Joystick,
) -> SDL_bool
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