logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GetHapticFeatures - Get the haptic device's supported features in bitwise manner.

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);

See Also