[][src]Function sdl2_sys::SDL_HapticNumEffectsPlaying

pub unsafe extern "C" fn SDL_HapticNumEffectsPlaying(
    haptic: *mut SDL_Haptic
) -> c_int

\brief Returns 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. Added here for the sake of completeness.

\param haptic The haptic device to query maximum playing effects. \return The number of effects the haptic device can play at the same time or -1 on error.

\sa SDL_HapticNumEffects \sa SDL_HapticQuery