Man page - sdl_destroyhapticeffect(3)
Packages contains this manual
Manual
SDL_DestroyHapticEffect
NAMEHEADER FILE
SYNOPSIS
DESCRIPTION
FUNCTION PARAMETERS
AVAILABILITY
SEE ALSO
NAME
SDL_DestroyHapticEffect - Destroy a haptic effect on the device.
HEADER FILE
Defined in SDL3/SDL_haptic.h
SYNOPSIS
#include "SDL3/SDL.h"
void SDL_DestroyHapticEffect(SDL_Haptic *haptic, int effect);
DESCRIPTION
This will stop the effect if itβs running. Effects are automatically destroyed when the device is closed.
FUNCTION PARAMETERS
|
haptic |
the SDL_Haptic |
device to destroy the effect on.
|
effect |
the ID of the haptic effect to destroy. |
AVAILABILITY
This function is available since SDL 3.2.0.
SEE ALSO
β’ (3), SDL_CreateHapticEffect (3)