Function SDL_CloseJoystick

pub unsafe extern "C" fn SDL_CloseJoystick(
    joystick: *mut SDL_Joystick,
)
Available on crate feature dep_sdl3 only.
Expand description

Close a joystick previously opened with SDL_OpenJoystick().

§Parameters

  • joystick: the joystick device to close.

§Availability

This function is available since SDL 3.2.0.

§See also