diff src/haptic/darwin/SDL_syshaptic.c @ 2532:688cad3f6090 gsoc2008_force_feedback

More comments. Disabled envelope on condition effects.
author Edgar Simo <bobbens@gmail.com>
date Fri, 18 Jul 2008 19:16:03 +0000
parents 7f2a4c387292
children 0c8cea99c4b8
line wrap: on
line diff
--- a/src/haptic/darwin/SDL_syshaptic.c	Fri Jul 18 18:58:47 2008 +0000
+++ b/src/haptic/darwin/SDL_syshaptic.c	Fri Jul 18 19:16:03 2008 +0000
@@ -558,11 +558,13 @@
             return -1;                
          }                            
                                       
-         /* Envelope */               
+         /* Envelope */
+/* TODO Check is envelope actually used.
          envelope->dwAttackLevel = CONVERT(hap_condition->attack_level);
          envelope->dwAttackTime = hap_condition->attack_length * 1000;
          envelope->dwFadeLevel = CONVERT(hap_condition->fade_level);
          envelope->dwFadeTime = hap_condition->fade_length * 1000;
+*/
 
          break;