Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/haptic/SDL_syshaptic.h Tue Aug 12 20:49:31 2008 +0000 +++ b/src/haptic/SDL_syshaptic.h Sun Aug 24 17:17:45 2008 +0000 @@ -180,4 +180,17 @@ extern int SDL_SYS_HapticSetAutocenter(SDL_Haptic * haptic, int autocenter); +/* + * Pauses the haptic device. + * + * Returns 0 on success, -1 on error. + */ +extern int SDL_SYS_HapticPause(SDL_Haptic * haptic); +/* + * Unpauses the haptic device. + * + * Returns 0 on success, -1 on error. + */ +extern int SDL_SYS_HapticUnpause(SDL_Haptic * haptic); +