SDL_GetHapticEffectStatus3
Get the status of the current effect on the specified haptic device.
Usage
#include "SDL3/SDL.h"
bool SDL_GetHapticEffectStatus(SDL_Haptic *haptic, int effect);
Header file
Defined in SDL3/SDL_haptic.h
Overview
Device must support the SDL_HAPTIC_STATUS
feature.
Function parameters
haptic
|
the |
|---|---|
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.