pub unsafe extern "C" fn SDL_HapticStopEffect(
    haptic: *mut SDL_Haptic,
    effect: c_int
) -> c_int
Expand description

\brief Stops the haptic effect on its associated haptic device.

\param haptic Haptic device to stop the effect on. \param effect Identifier of the effect to stop. \return 0 on success or -1 on error.

\sa SDL_HapticRunEffect \sa SDL_HapticDestroyEffect