Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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