Function sdl2_sys::SDL_HapticStopEffect
source ยท pub unsafe extern "C" fn SDL_HapticStopEffect(
haptic: *mut SDL_Haptic,
effect: c_int,
) -> c_int
Expand description
Stop the haptic effect on its associated haptic device.
\param haptic the SDL_Haptic device to stop the effect on \param effect the ID of the haptic effect 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.
\sa SDL_HapticDestroyEffect \sa SDL_HapticRunEffect