Ubuntu Manpages

SDL_GetMaxHapticEffectsPlaying

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

#include <SDL3/SDL_haptic.h>
int SDL_GetMaxHapticEffectsPlaying(SDL_Haptic *haptic);

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

the SDL_Haptic device to query maximum playing effects.

for more information.

This function is available since SDL 3.2.0.

SDL_GetMaxHapticEffects(3), SDL_GetHapticFeatures(3)