Function SDL_GetHapticFeatures
pub unsafe extern "C" fn SDL_GetHapticFeatures(
haptic: *mut SDL_Haptic,
) -> u32 ⓘ
Available on crate feature
dep_sdl3
only.Expand description
Get the haptic device’s supported features in bitwise manner.
§Parameters
haptic
: theSDL_Haptic
device to query.
§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.