Wiki Page Content

Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2010-09-03 17:01:39
Size: 957
Editor: SheenaSmith
Comment: update content - standard return value
Revision 4 as of 2010-10-12 00:12:31
Size: 944
Editor: SheenaSmith
Comment: update content - pointers, structs
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Use this function to stop the haptic effect on ''its associated'' haptic device. Use this function to stop the haptic effect on its associated haptic device.
Line 17: Line 17:
||'''haptic'''||^a pointer to the^ haptic device to stop the effect on|| ||'''haptic'''||^the^ SDL_Haptic device to stop the effect on||

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

None: SDL_HapticStopEffect (last edited 2016-07-15 20:39:45 by PhilippWiesemann)

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