Function SDL_HapticQuery

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

Get the haptic device’s supported features in bitwise manner.

\param haptic the SDL_Haptic device to query \returns a list of supported haptic features in bitwise manner (OR’d), or 0 on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_HapticEffectSupported \sa SDL_HapticNumEffects