SDL_GetMaxHapticEffectsPlaying - Man Page
Get the number of effects a haptic device can play at the same time.
Synopsis
#include <SDL3/SDL_haptic.h> int SDL_GetMaxHapticEffectsPlaying(SDL_Haptic *haptic);
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.
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.
Availability
This function is available since SDL 3.2.0.
See Also
Referenced By
SDL 3.3.2 Simple Directmedia Layer SDL3 FUNCTIONS