[−][src]Function sdl2_sys::SDL_HapticNumEffects
pub unsafe extern "C" fn SDL_HapticNumEffects(haptic: *mut SDL_Haptic) -> c_int
\brief Returns the number of effects a haptic device can store.
On some platforms this isn't fully supported, and therefore is an approximation. Always check to see if your created effect was actually created and do not rely solely on SDL_HapticNumEffects().
\param haptic The haptic device to query effect max. \return The number of effects the haptic device can store or -1 on error.
\sa SDL_HapticNumEffectsPlaying \sa SDL_HapticQuery