SDL_StopHapticEffects - Man Page

Stop all the currently playing effects on a haptic device.

Header File

Defined in SDL3/SDL_haptic.h

Synopsis

#include "SDL3/SDL.h"

bool SDL_StopHapticEffects(SDL_Haptic *haptic);

Function Parameters

haptic

the SDL_Haptic
device to stop.

Return Value

Returns true on success or false on failure; call

SDL_GetError () for more information.

Availability

This function is available since SDL 3.2.0.

See Also

·(3), SDL_RunHapticEffect(3), ·(3), SDL_StopHapticEffects(3)

Referenced By

SDL_RunHapticEffect(3), SDL_StopHapticEffect(3), SDL_StopHapticEffects(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS