Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-03-22 19:41:02
Size: 864
Editor: SheenaSmith
Comment: create page, add content (Rev 5321)
Revision 2 as of 2010-10-11 22:42:51
Size: 855
Editor: SheenaSmith
Comment: update content - pointers, structs
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
||'''haptic'''||^a pointer to the haptic^ device to destroy the effect on|| ||'''haptic'''||^the SDL_Haptic^ device to destroy the effect on||

DRAFT

SDL_HapticDestroyEffect

Use this function to destroy a haptic effect on the device.

Syntax

void SDL_HapticDestroyEffect(SDL_Haptic* haptic,
                             int         effect)

Function Parameters

haptic

the SDL_Haptic device to destroy the effect on

effect

ID identifier of the haptic effect to destroy

Code Examples

You can add your code example here

Remarks

This will stop the effect if it's running. Effects are automatically destroyed when the device is closed.


CategoryAPI, CategoryForceFeedback

None: SDL_HapticDestroyEffect (last edited 2016-07-15 20:09:43 by PhilippWiesemann)

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