SDL_InitHapticRumble3
Initialize a haptic device for simple rumble playback.
Usage
#include "SDL3/SDL.h"
bool SDL_InitHapticRumble(SDL_Haptic *haptic);
Header file
Defined in SDL3/SDL_haptic.h
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.