Function SDL_JoystickDetachVirtual
pub unsafe extern "C" fn SDL_JoystickDetachVirtual(
device_index: i32,
) -> i32
Available on crate feature
dep_sdl2
only.Expand description
Detach a virtual joystick.
\param device_index a value previously returned from SDL_JoystickAttachVirtual() \returns 0 on success, or -1 if an error occurred.
\since This function is available since SDL 2.0.14.