[][src]Function sdl2_sys::SDL_HapticRumbleInit

pub unsafe extern "C" fn SDL_HapticRumbleInit(haptic: *mut SDL_Haptic) -> c_int

\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