SDL_InitHapticRumble - Man Page
Initialize a haptic device for simple rumble playback.
Header File
Defined in SDL3/SDL_haptic.h
Synopsis
#include "SDL3/SDL.h" bool SDL_InitHapticRumble(SDL_Haptic *haptic);
Function Parameters
- haptic
the haptic device to initialize for simple rumble playback.
Return Value
Returns true on success or false on failure; call
SDL_GetError () for more information.
Availability
This function is available since SDL 3.2.0.
See Also
·(3), SDL_PlayHapticRumble(3), ·(3), SDL_StopHapticRumble(3), ·(3), SDL_HapticRumbleSupported(3)
Referenced By
SDL_HapticRumbleSupported(3), SDL_PlayHapticRumble(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS