SDL_HapticEffectSupported3
Check to see if an effect is supported by a haptic device.
Usage
#include "SDL3/SDL.h"
bool SDL_HapticEffectSupported(SDL_Haptic *haptic, const SDL_HapticEffect *effect);
Header file
Defined in SDL3/SDL_haptic.h
Function parameters
haptic
|
the |
|---|---|
effect
|
the desired effect to query. |
Return value
Returns true if the effect is supported or false if it isn't.