SDL_StopHapticEffects - Stop all the currently playing effects on a haptic device.
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
haptic the SDL_Haptic
device to stop.
Header File
Defined in SDL3/SDL_haptic.h
Name
SDL_StopHapticEffects - Stop all the currently playing effects on a haptic device.
Return Value
Returns true on success or false on failure; call
SDL_GetError () for more information.
See Also
•(3), SDL_RunHapticEffect(3), •(3), SDL_StopHapticEffects(3) Simple Directmedia Layer SDL 3.2.10 SDL_StopHapticEffects(3)
Synopsis
#include"SDL3/SDL.h"boolSDL_StopHapticEffects(SDL_Haptic*haptic);
