SDL_HapticRumbleSupported - Check whether rumble is supported on a haptic device.
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
haptic haptic device to check for rumble support.
Header File
Defined in SDL3/SDL_haptic.h
Name
SDL_HapticRumbleSupported - Check whether rumble is supported on a haptic device.
Return Value
Returns true if the effect is supported or false if it isn't.
See Also
•(3), SDL_InitHapticRumble(3) Simple Directmedia Layer SDL 3.2.10 SDL_HapticRumbleSupported(3)
Synopsis
#include"SDL3/SDL.h"boolSDL_HapticRumbleSupported(SDL_Haptic*haptic);
