Function sdl2_sys::SDL_HapticStopAll
source ยท pub unsafe extern "C" fn SDL_HapticStopAll(
haptic: *mut SDL_Haptic,
) -> c_int
Expand description
Stop all the currently playing effects on a haptic device.
\param haptic the SDL_Haptic device to stop \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.