src/haptic/darwin/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2629 43a0416b3707
parent 2628 bfbda6c656e5
child 2632 9e7f58b1b255
     1.1 --- a/src/haptic/darwin/SDL_syshaptic.c	Wed Aug 06 10:33:16 2008 +0000
     1.2 +++ b/src/haptic/darwin/SDL_syshaptic.c	Wed Aug 06 10:48:35 2008 +0000
     1.3 @@ -765,15 +765,9 @@
     1.4              return -1;                
     1.5           }                            
     1.6                                        
     1.7 -         /* Envelope */
     1.8 +         /* Envelope - Not actually supported by most CONDITION implementations. */
     1.9           SDL_free(dest->lpEnvelope);
    1.10           dest->lpEnvelope = NULL;
    1.11 -/* TODO Check is envelope actually used.
    1.12 -         envelope->dwAttackLevel = CCONVERT(hap_condition->attack_level);
    1.13 -         envelope->dwAttackTime = hap_condition->attack_length * 1000;
    1.14 -         envelope->dwFadeLevel = CCONVERT(hap_condition->fade_level);
    1.15 -         envelope->dwFadeTime = hap_condition->fade_length * 1000;
    1.16 -*/
    1.17  
    1.18           break;
    1.19