Mercurial > sdl-ios-xcode
comparison src/haptic/dummy/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 | 2a61a38dd138 |
children | 9408be170bff |
comparison
equal
deleted
inserted
replaced
2644:ef0ba67154c1 | 2645:269ba4f28d0e |
---|---|
157 { | 157 { |
158 SDL_SetError("Logic error: No haptic devices available."); | 158 SDL_SetError("Logic error: No haptic devices available."); |
159 return -1; | 159 return -1; |
160 } | 160 } |
161 | 161 |
162 int | |
163 SDL_SYS_HapticPause(SDL_Haptic * haptic) | |
164 { | |
165 SDL_SetError("Logic error: No haptic devices available."); | |
166 return -1; | |
167 } | |
168 | |
169 int | |
170 SDL_SYS_HapticUnpause(SDL_Haptic * haptic) | |
171 { | |
172 SDL_SetError("Logic error: No haptic devices available."); | |
173 return -1; | |
174 } | |
175 | |
162 | 176 |
163 #endif /* SDL_HAPTIC_DUMMY || SDL_HAPTIC_DISABLED */ | 177 #endif /* SDL_HAPTIC_DUMMY || SDL_HAPTIC_DISABLED */ |