Mercurial > sdl-ios-xcode
diff src/haptic/SDL_syshaptic.h @ 2517:37c13c12c878 gsoc2008_force_feedback
Broke API by introducing iterations to SDL_HapticRunEffects().
Fixed minor issues.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Thu, 10 Jul 2008 17:54:08 +0000 |
parents | 030fc4375e63 |
children | af9df9662807 |
line wrap: on
line diff
--- a/src/haptic/SDL_syshaptic.h Thu Jul 10 17:52:57 2008 +0000 +++ b/src/haptic/SDL_syshaptic.h Thu Jul 10 17:54:08 2008 +0000 @@ -38,7 +38,7 @@ }; /* - * The real SDL_Haptic event. + * The real SDL_Haptic struct. */ struct _SDL_Haptic { @@ -139,7 +139,8 @@ * Returns 0 on success, -1 on error. */ extern int SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, - struct haptic_effect * effect); + struct haptic_effect * effect, + int iterations); /* * Stops the effect on the haptic device.