Mercurial > sdl-ios-xcode
comparison src/haptic/SDL_syshaptic.h @ 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 |
comparison
equal
deleted
inserted
replaced
2518:07a5b225b9c9 | 2519:af9df9662807 |
---|---|
138 * | 138 * |
139 * Returns 0 on success, -1 on error. | 139 * Returns 0 on success, -1 on error. |
140 */ | 140 */ |
141 extern int SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, | 141 extern int SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, |
142 struct haptic_effect * effect, | 142 struct haptic_effect * effect, |
143 int iterations); | 143 Uint32 iterations); |
144 | 144 |
145 /* | 145 /* |
146 * Stops the effect on the haptic device. | 146 * Stops the effect on the haptic device. |
147 * | 147 * |
148 * Returns 0 on success, -1 on error. | 148 * Returns 0 on success, -1 on error. |