comparison src/haptic/SDL_syshaptic.h @ 2645:269ba4f28d0e gsoc2008_force_feedback

Added support for pausing/unpausing haptic devices.
author Edgar Simo <bobbens@gmail.com>
date Sun, 24 Aug 2008 17:17:45 +0000
parents c6476e26a783
children 9408be170bff
comparison
equal deleted inserted replaced
2644:ef0ba67154c1 2645:269ba4f28d0e
178 * Returns 0 on success, -1 on error. 178 * Returns 0 on success, -1 on error.
179 */ 179 */
180 extern int SDL_SYS_HapticSetAutocenter(SDL_Haptic * haptic, 180 extern int SDL_SYS_HapticSetAutocenter(SDL_Haptic * haptic,
181 int autocenter); 181 int autocenter);
182 182
183 /*
184 * Pauses the haptic device.
185 *
186 * Returns 0 on success, -1 on error.
187 */
188 extern int SDL_SYS_HapticPause(SDL_Haptic * haptic);
183 189
190 /*
191 * Unpauses the haptic device.
192 *
193 * Returns 0 on success, -1 on error.
194 */
195 extern int SDL_SYS_HapticUnpause(SDL_Haptic * haptic);
196