Function SDL_HapticNumEffectsPlaying

pub unsafe extern "C" fn SDL_HapticNumEffectsPlaying(
    haptic: *mut _SDL_Haptic,
) -> i32
Available on crate feature dep_sdl2 only.
Expand description

Get the number of effects a haptic device can play at the same time.

This is not supported on all platforms, but will always return a value.

\param haptic the SDL_Haptic device to query maximum playing effects \returns the number of effects the haptic device can play at the same time or a negative error code on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_HapticNumEffects \sa SDL_HapticQuery