SDL_GetMaxHapticEffectsPlaying - Man Page

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

Header File

Defined in SDL3/SDL_haptic.h

Synopsis

#include "SDL3/SDL.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

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

Referenced By

SDL_GetMaxHapticEffects(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS