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_GetMaxHapticEffectsPlaying - Get the number of effects a haptic device can play at the same time.

Availability

       This function is available since SDL 3.2.0.

Description

       This is not supported on all platforms, but will always return a value.

Function Parameters

haptic the SDL_Haptic
               device to query maximum playing effects.

Header File

       Defined in SDL3/SDL_haptic.h

Name

       SDL_GetMaxHapticEffectsPlaying - Get the number of effects a haptic device can play at the same time.

Return Value

       Returns  the  number  of  effects  the  haptic  device  can  play at the same time or -1 on failure; call
       SDL_GetError () for more information.

See Also

(3), SDL_GetMaxHapticEffects(3), (3), SDL_GetHapticFeatures(3)

Simple Directmedia Layer                           SDL 3.2.10                  SDL_GetMaxHapticEffectsPlaying(3)

Synopsis

#include"SDL3/SDL.h"intSDL_GetMaxHapticEffectsPlaying(SDL_Haptic*haptic);

See Also