SDL_HapticRumbleSupported - Man Page

Check whether rumble is supported on a haptic device.

Header File

Defined in SDL3/SDL_haptic.h

Synopsis

#include "SDL3/SDL.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

·(3), SDL_InitHapticRumble(3)

Referenced By

SDL_InitHapticRumble(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS