Mercurial > sdl-ios-xcode
diff src/haptic/darwin/SDL_syshaptic.c @ 2629:43a0416b3707 gsoc2008_force_feedback
Removed TODO.
Fixed condition envelope behaviour.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 10:48:35 +0000 |
parents | bfbda6c656e5 |
children | 9e7f58b1b255 |
line wrap: on
line diff
--- a/src/haptic/darwin/SDL_syshaptic.c Wed Aug 06 10:33:16 2008 +0000 +++ b/src/haptic/darwin/SDL_syshaptic.c Wed Aug 06 10:48:35 2008 +0000 @@ -765,15 +765,9 @@ return -1; } - /* Envelope */ + /* Envelope - Not actually supported by most CONDITION implementations. */ SDL_free(dest->lpEnvelope); dest->lpEnvelope = NULL; -/* TODO Check is envelope actually used. - envelope->dwAttackLevel = CCONVERT(hap_condition->attack_level); - envelope->dwAttackTime = hap_condition->attack_length * 1000; - envelope->dwFadeLevel = CCONVERT(hap_condition->fade_level); - envelope->dwFadeTime = hap_condition->fade_length * 1000; -*/ break;