Mercurial > sdl-ios-xcode
comparison src/haptic/SDL_haptic.c @ 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 |
comparison
equal
deleted
inserted
replaced
2645:269ba4f28d0e | 2646:9408be170bff |
---|---|
671 } | 671 } |
672 | 672 |
673 return SDL_SYS_HapticUnpause(haptic); | 673 return SDL_SYS_HapticUnpause(haptic); |
674 } | 674 } |
675 | 675 |
676 /* | |
677 * Stops all the currently playing effects. | |
678 */ | |
679 int | |
680 SDL_HapticStopAll(SDL_Haptic * haptic) | |
681 { | |
682 if (!ValidHaptic(haptic)) { | |
683 return -1; | |
684 } | |
685 | |
686 return SDL_SYS_HapticStopAll(haptic); | |
687 } | |
688 |