DRAFT

SDL_HapticStopEffect

Use this function to stop the haptic effect on its associated haptic device.

Syntax

int SDL_HapticStopEffect(SDL_Haptic* haptic,
                         int         effect)

Function Parameters

haptic

the SDL_Haptic device to stop the effect on

effect

ID identifier of the haptic effect to stop

Return Value

Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryForceFeedback

SDL_HapticStopEffect (last edited 2010-10-12 00:12:31 by SheenaSmith)

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