Mercurial > sdl-ios-xcode
diff src/haptic/linux/SDL_syshaptic.c @ 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 | ef0ba67154c1 |
children | 9408be170bff |
line wrap: on
line diff
--- a/src/haptic/linux/SDL_syshaptic.c Tue Aug 12 20:49:31 2008 +0000 +++ b/src/haptic/linux/SDL_syshaptic.c Sun Aug 24 17:17:45 2008 +0000 @@ -890,4 +890,24 @@ } +/* + * Pausing is not supported atm by linux. + */ +int +SDL_SYS_HapticPause(SDL_Haptic * haptic) +{ + return -1; +} + + +/* + * Unpausing is not supported atm by linux. + */ +int +SDL_SYS_HapticUnpause(SDL_Haptic * haptic) +{ + return -1; +} + + #endif /* SDL_HAPTIC_LINUX */