diff src/haptic/dummy/SDL_syshaptic.c @ 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 ef147ee4896c
children 2a61a38dd138
line wrap: on
line diff
--- a/src/haptic/dummy/SDL_syshaptic.c	Thu Jul 10 17:52:57 2008 +0000
+++ b/src/haptic/dummy/SDL_syshaptic.c	Thu Jul 10 17:54:08 2008 +0000
@@ -114,7 +114,7 @@
 
 
 int
-SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, struct haptic_effect * effect)
+SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, struct haptic_effect * effect, int iterations)
 {
    SDL_SetError("Logic error: No haptic devices available.");
    return -1;