Mercurial > sdl-ios-xcode
diff src/haptic/SDL_haptic.c @ 2519:af9df9662807 gsoc2008_force_feedback
More explicit with iterations and length.
Added spherical coordinates (not available on linux).
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Tue, 15 Jul 2008 15:53:48 +0000 |
parents | 37c13c12c878 |
children | 366d84fdf8d1 |
line wrap: on
line diff
--- a/src/haptic/SDL_haptic.c Tue Jul 15 11:24:25 2008 +0000 +++ b/src/haptic/SDL_haptic.c Tue Jul 15 15:53:48 2008 +0000 @@ -470,7 +470,7 @@ * Runs the haptic effect on the device. */ int -SDL_HapticRunEffect(SDL_Haptic * haptic, int effect, int iterations) +SDL_HapticRunEffect(SDL_Haptic * haptic, int effect, Uint32 iterations) { if (!ValidHaptic(&haptic) || !ValidEffect(haptic,effect)) { return -1;