logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_StopHapticEffect - Stop the haptic effect on its associated haptic device.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

haptic the SDL_Haptic device to stop the effect on.

       effect the ID of the haptic effect to stop.

Name

       SDL_StopHapticEffect - Stop the haptic effect on its associated haptic device.

Return Value

       for more information.

See Also

SDL_RunHapticEffect(3), SDL_StopHapticEffects(3)

Simple Directmedia Layer                           SDL 3.2.20                            SDL_StopHapticEffect(3)

Synopsis

#include<SDL3/SDL_haptic.h>boolSDL_StopHapticEffect(SDL_Haptic*haptic,inteffect);

See Also