Man page - sdl_gethapticeffectstatus(3)
Packages contains this manual
Manual
SDL_GetHapticEffectStatus
NAMEHEADER FILE
SYNOPSIS
DESCRIPTION
FUNCTION PARAMETERS
RETURN VALUE
AVAILABILITY
SEE ALSO
NAME
SDL_GetHapticEffectStatus - Get the status of the current effect on the specified haptic device.
HEADER FILE
Defined in SDL3/SDL_haptic.h
SYNOPSIS
#include "SDL3/SDL.h"
bool SDL_GetHapticEffectStatus(SDL_Haptic *haptic, int effect);
DESCRIPTION
Device must
support the
SDL_HAPTIC_STATUS
feature.
FUNCTION PARAMETERS
|
haptic |
the SDL_Haptic |
device to query for the effect status on.
|
effect |
the ID of the haptic effect to query its status. |
RETURN VALUE
Returns true if it is playing, false if it isnβt playing or haptic status isnβt supported.
AVAILABILITY
This function is available since SDL 3.2.0.
SEE ALSO
β’ (3), SDL_GetHapticFeatures (3)