SDL_GetHapticFeatures

Function SDL_GetHapticFeatures 

Source
pub unsafe extern "C" fn SDL_GetHapticFeatures(
    haptic: *mut SDL_Haptic,
) -> Uint32
Expand description

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

§Parameters

§Return value

Returns a list of supported haptic features in bitwise manner (OR’d), or 0 on failure; call SDL_GetError() for more information.

§Availability

This function is available since SDL 3.2.0.

§See also