Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Added SDL_HapticStopEffect().

  • Loading branch information
bobbens committed Jul 1, 2008
1 parent ce595d2 commit e54cc6103a0057ad9b5a149f94d37a25f1c6e9b2

File 1 of 4 in e54cc61

@@ -245,7 +245,15 @@ extern DECLSPEC int SDL_HapticNewEffect(SDL_Haptic * haptic, SDL_HapticEffect *
extern DECLSPEC int SDL_HapticRunEffect(SDL_Haptic * haptic, int effect);

/*
* Destroys a haptic effect on the device.
* Stops the haptic effect on it's assosciated haptic device.
*
* Returns 0 on success or -1 on failure.
*/
extern DECLSPEC int SDL_HapticStopEffect(SDL_Haptic * haptic, int effect);

/*
* Destroys a haptic effect on the device. This will stop the effect if it's
* running.
*/
extern DECLSPEC void SDL_HapticDestroyEffect(SDL_Haptic * haptic, int effect);

0 comments on commit e54cc61

Please sign in to comment.