diff eventLogger.mm @ 41:79c129e500e1

r
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Fri, 12 Apr 2013 17:50:25 +0100
parents af06bb942d58
children 3d627dce8bf0
line wrap: on
line diff
--- a/eventLogger.mm	Fri Apr 12 16:13:42 2013 +0100
+++ b/eventLogger.mm	Fri Apr 12 17:50:25 2013 +0100
@@ -180,7 +180,7 @@
     
     //((testApp *)ofGetAppPtr())->showIntro();
     //consentGiven = false;
-    ((testApp *)ofGetAppPtr())->justStart();
+    //((testApp *)ofGetAppPtr())->justStart();
     
     
 }
@@ -397,7 +397,7 @@
         previousEvent = newEvent;
         return;
     }
-    
+
     // if previous event is more than 300ms ago, or event type has changed, log both of them (lots of events on move+zoom combinations!!)
     int gap = newEvent.eventTime - previousEvent.eventTime;
     if(gap > 300){
@@ -433,13 +433,13 @@
     static lEvent previousEvent(EMPTY_EVENT); // initialised as whatever. hopefully won't log
     static int eventCounter = 0;
     
-    // if first event then log it. it won't be, but still.
+    // if first event then log it.
     if(theEvents.size() == 0){
         theEvents.push_back(newEvent);
         previousEvent = newEvent;
         return;
     }
-    
+
     // if previous event is more than 300ms ago log both of them 
     int gap = newEvent.eventTime - previousEvent.eventTime;
     if(gap > 300){