Function SDL_HapticRumbleSupported

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

Check whether rumble is supported on a haptic device.

§Parameters

  • haptic: haptic device to check for rumble support.

§Return value

Returns true if the effect is supported or false if it isn’t.

§Availability

This function is available since SDL 3.2.0.

§See also