Scroll to navigation

SDL_HapticRumbleSupported(3) SDL3 FUNCTIONS SDL_HapticRumbleSupported(3)

NAME

SDL_HapticRumbleSupported - 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 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.1.3.

SEE ALSO

(3), SDL_InitHapticRumble(3)

SDL 3.1.6 Simple Directmedia Layer