Mercurial > sdl-ios-xcode
diff src/haptic/SDL_syshaptic.h @ 2646:9408be170bff gsoc2008_force_feedback
Added SDL_HapticStopAll.
Cleaned up the dummy haptic driver a bit.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Sun, 24 Aug 2008 17:32:50 +0000 |
parents | 269ba4f28d0e |
children |
line wrap: on
line diff
--- a/src/haptic/SDL_syshaptic.h Sun Aug 24 17:17:45 2008 +0000 +++ b/src/haptic/SDL_syshaptic.h Sun Aug 24 17:32:50 2008 +0000 @@ -194,3 +194,10 @@ */ extern int SDL_SYS_HapticUnpause(SDL_Haptic * haptic); +/* + * Stops all the currently playing haptic effects on the device. + * + * Returns 0 on success, -1 on error. + */ +extern int SDL_SYS_HapticStopAll(SDL_Haptic * haptic); +