SDL_GetHapticFeatures - Get the haptic device's supported features in bitwise manner.
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
haptic the SDL_Haptic device to query.
Name
SDL_GetHapticFeatures - Get the haptic device's supported features in bitwise manner.
Return Value
Returns a list of supported haptic features in bitwise manner (OR'd), or 0 on failure; call
SDL_GetError() for more information.
See Also
SDL_HapticEffectSupported(3), SDL_GetMaxHapticEffects(3) Simple Directmedia Layer SDL 3.2.20 SDL_GetHapticFeatures(3)
Synopsis
#include<SDL3/SDL_haptic.h>Uint32SDL_GetHapticFeatures(SDL_Haptic*haptic);
