Function SDL_HapticEffectSupported
pub unsafe extern "C" fn SDL_HapticEffectSupported(
haptic: *mut SDL_Haptic,
effect: *const SDL_HapticEffect,
) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Check to see if an effect is supported by a haptic device.
§Parameters
haptic
: theSDL_Haptic
device to query.effect
: the desired effect to query.
§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.