comparison src/haptic/linux/SDL_syshaptic.c @ 2474:3f80bf1528b4 gsoc2008_force_feedback

Properly quit the SDL_haptic subsystem. Added SDL_Haptic dummy driver.
author Edgar Simo <bobbens@gmail.com>
date Sun, 01 Jun 2008 18:46:51 +0000
parents 3f73c88c9abb
children 4b874e3a3a2c
comparison
equal deleted inserted replaced
2473:20730743769d 2474:3f80bf1528b4
180 return 0; 180 return 0;
181 */ 181 */
182 } 182 }
183 183
184 184
185 /* Clean up after system specific haptic stuff */
186 void
187 SDL_SYS_HapticQuit(void)
188 {
189 int i;
190
191 for (i=0; SDL_hapticlist[i].fname != NULL; i++) {
192 SDL_free(SDL_hapticlist[i].fname);
193 }
194 SDL_hapticlist[0].fname = NULL;
195 }
196
197
185 #endif /* SDL_HAPTIC_LINUX */ 198 #endif /* SDL_HAPTIC_LINUX */