SDL_HapticRumbleSupported - Man Page

Check whether rumble is supported on a haptic device.

Synopsis

#include <SDL3/SDL_haptic.h>

bool SDL_HapticRumbleSupported(SDL_Haptic *haptic);

Function Parameters

haptic

haptic device to check for rumble support.

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

SDL_InitHapticRumble(3)

Referenced By

SDL_InitHapticRumble(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS