SDL_StopHapticEffect3
Stop the haptic effect on its associated haptic device.
Usage
#include "SDL3/SDL.h"
bool SDL_StopHapticEffect(SDL_Haptic *haptic, int effect);
Header file
Defined in SDL3/SDL_haptic.h
Function parameters
haptic
|
the |
|---|---|
effect
|
the ID of the haptic effect to stop. |
Return value
Returns true on success or false on failure; call
SDL_GetError () for more information.