SDL_HapticEffectSupported - Man Page
Check to see if an effect is supported by a haptic device.
Synopsis
#include <SDL3/SDL_haptic.h> bool SDL_HapticEffectSupported(SDL_Haptic *haptic, const SDL_HapticEffect *effect);
Function Parameters
- haptic
the SDL_Haptic device to query.
- effect
the desired effect to query.
Return Value
Returns true if the effect is supported or false if it isn't.
Availability
This function is available since SDL 3.2.0.
See Also
Referenced By
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS