Wiki Page Content

Revision 2 as of 2010-09-13 04:36:17

Clear message

DRAFT

SDL_HapticNumEffectsPlaying

Use this function to return the number of effects a haptic device can play at the same time.

Syntax

int SDL_HapticNumEffectsPlaying(SDL_Haptic* haptic)

Function Parameters

haptic

the haptic device to query for maximum playing effects

Return Value

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

Code Examples

You can add your code example here

Remarks

This is not supported on all platforms, but will always return a value. This function is available Added here for the sake of completeness. green


CategoryAPI, CategoryForceFeedback

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit