[−][src]Function sdl2_sys::SDL_HapticRumblePlay
pub unsafe extern "C" fn SDL_HapticRumblePlay(
haptic: *mut SDL_Haptic,
strength: f32,
length: Uint32
) -> c_int
\brief Runs simple rumble on a haptic device
\param haptic Haptic device to play rumble effect on. \param strength Strength of the rumble to play as a 0-1 float value. \param length Length of the rumble to play in milliseconds. \return 0 on success or -1 on error.
\sa SDL_HapticRumbleSupported \sa SDL_HapticRumbleInit \sa SDL_HapticRumbleStop