SDL_InitHapticRumble - Man Page

Initialize a haptic device for simple rumble playback.

Synopsis

#include <SDL3/SDL_haptic.h>

bool SDL_InitHapticRumble(SDL_Haptic *haptic);

Function Parameters

haptic

the haptic device to initialize for simple rumble playback.

Return Value

for more information.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_PlayHapticRumble(3), SDL_StopHapticRumble(3), SDL_HapticRumbleSupported(3)

Referenced By

SDL_HapticRumbleSupported(3), SDL_PlayHapticRumble(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS