Mercurial > hg > soniczoomios
diff eventLogger.h @ 39:df7c08faf541
MIDI, small improvements.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Thu, 11 Apr 2013 16:56:21 +0100 |
parents | 0dfe9e0c01aa |
children | af06bb942d58 |
line wrap: on
line diff
--- a/eventLogger.h Wed Apr 10 18:57:05 2013 +0100 +++ b/eventLogger.h Thu Apr 11 16:56:21 2013 +0100 @@ -30,7 +30,7 @@ #define EVENT_THIN_FACTOR 12 #define EVENT_LOG_FILENAME "log.json" -#define UPLOAD_CHUNK_SIZE 100 +#define UPLOAD_CHUNK_SIZE 1000 #define APP_CREATION_TIME 381429000000 // milliseconds to the time i wrote this wee blighter. saves digits #define SCROLL_TRAIL_LENGTH 200 #define PROGRAM_VERSION 0.5 // NOW USES NEW HILBERT CURVE. ALL OLD PRESETS WILL BE INVALID :( @@ -61,7 +61,9 @@ HELP_PRESSED, // 19 QUESTIONNAIRE_COMPLETED, // 20 EVALUATION_POINT, // 21 - EMPTY_EVENT}; // 22 + EMPTY_EVENT, // 22 + SMOOTHING_ON, // 23 + SMOOTHING_OFF}; // 24 //--------------------------------------------------------------------------- @@ -181,7 +183,9 @@ vector<lEvent> theEvents; // all logged but not uploaded events deque<lEvent> eventsToDraw; // 200 or so drawable events, maybe uploaded maybe not - void thinnedLogEvent(lEvent nextEvent); + void thinnedSliderEvent(lEvent nextEvent); + void thinnedZoomEvent(lEvent nextEvent); + void thinnedSnapEvent(lEvent nextEvent); void thinnedScrollEvent(lEvent nextEvent); unsigned int nextUploadQty;