Function SDL_InitHapticRumble

pub unsafe extern "C" fn SDL_InitHapticRumble(
    haptic: *mut SDL_Haptic,
) -> bool
Available on crate feature dep_sdl3 only.
Expand description

Initialize a haptic device for simple rumble playback.

§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