comparison 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
comparison
equal deleted inserted replaced
2516:6da022b18314 2517:37c13c12c878
112 return -1; 112 return -1;
113 } 113 }
114 114
115 115
116 int 116 int
117 SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, struct haptic_effect * effect) 117 SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, struct haptic_effect * effect, int iterations)
118 { 118 {
119 SDL_SetError("Logic error: No haptic devices available."); 119 SDL_SetError("Logic error: No haptic devices available.");
120 return -1; 120 return -1;
121 } 121 }
122 122