| SDL_GetHapticEffectStatus(3) | SDL3 FUNCTIONS | SDL_GetHapticEffectStatus(3) |
SDL_GetHapticEffectStatus - Get the status of the current effect on the specified haptic device.
Defined in SDL3/SDL_haptic.h
#include "SDL3/SDL.h"
bool SDL_GetHapticEffectStatus(SDL_Haptic *haptic, int effect);
Device must support the SDL_HAPTIC_STATUS
feature.
Returns true if it is playing, false if it isn't playing or haptic status isn't supported.
This function is available since SDL 3.2.0.
•(3), SDL_GetHapticFeatures(3)
| SDL 3.2.10 | Simple Directmedia Layer |