SDL_GetMaxHapticEffectsPlaying3
Get the number of effects a haptic device can play at the same time.
Usage
#include "SDL3/SDL.h"
int SDL_GetMaxHapticEffectsPlaying(SDL_Haptic *haptic);
Header file
Defined in SDL3/SDL_haptic.h
Overview
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.