Mercurial > sdl-ios-xcode
comparison src/haptic/linux/SDL_syshaptic.c @ 2530:22ce87690b41 gsoc2008_force_feedback
More comments.
Added support for condition effects on darwin.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Fri, 18 Jul 2008 18:52:06 +0000 |
parents | 2d88b82ce781 |
children | b4c41a7eea04 |
comparison
equal
deleted
inserted
replaced
2529:e1d5d16e88a8 | 2530:22ce87690b41 |
---|---|
443 SDL_SYS_HapticQuit(void) | 443 SDL_SYS_HapticQuit(void) |
444 { | 444 { |
445 int i; | 445 int i; |
446 | 446 |
447 for (i=0; SDL_hapticlist[i].fname != NULL; i++) { | 447 for (i=0; SDL_hapticlist[i].fname != NULL; i++) { |
448 /* Opened and not closed haptics are leaked, this is on purpose. | |
449 * Close your haptic devices after usage. */ | |
450 | |
448 SDL_free(SDL_hapticlist[i].fname); | 451 SDL_free(SDL_hapticlist[i].fname); |
449 } | 452 } |
450 SDL_hapticlist[0].fname = NULL; | 453 SDL_hapticlist[0].fname = NULL; |
451 } | 454 } |
452 | 455 |