[][src]Function sdl2_sys::SDL_HapticEffectSupported

pub unsafe extern "C" fn SDL_HapticEffectSupported(
    haptic: *mut SDL_Haptic,
    effect: *mut SDL_HapticEffect
) -> c_int
[]

\brief Checks to see if effect is supported by haptic.

\param haptic Haptic device to check on. \param effect Effect to check to see if it is supported. \return SDL_TRUE if effect is supported, SDL_FALSE if it isn't or -1 on error.

\sa SDL_HapticQuery \sa SDL_HapticNewEffect