Function sdl2_sys::SDL_HapticRumbleInit
source ยท pub unsafe extern "C" fn SDL_HapticRumbleInit(
haptic: *mut SDL_Haptic,
) -> c_int
Expand description
\brief Initializes the haptic device for simple rumble playback.
\param haptic Haptic device to initialize for simple rumble playback. \return 0 on success or -1 on error.
\sa SDL_HapticOpen \sa SDL_HapticRumbleSupported \sa SDL_HapticRumblePlay \sa SDL_HapticRumbleStop