else
++gui_event_r;
- if ((event & EVENT_BITS) == EVENT_JOG)
- {
- debug_string("JOG", 1);
- if ((event & JOG_BITS) == JOG_PLUS)
- debug_string("+", 1);
- if ((event & JOG_BITS) == JOG_MINUS)
- debug_string("-", 1);
- debug_dec(event & JOG_TIME_BITS, 1, 0);
- }
- else
- {
- if (event & BUTTON_A)
- debug_string("A", 1);
- if (event & BUTTON_B)
- debug_string("B", 1);
- if (event & BUTTON_C)
- debug_string("C", 1);
- if (event & BUTTON_D)
- debug_string("D", 1);
- if (event & BUTTON_E)
- debug_string("E", 1);
- if (event & BUTTON_F)
- debug_string("F", 1);
- if (event & BUTTON_X)
- debug_string("X", 1);
- if (event & BUTTON_Y)
- debug_string("Y", 1);
- if ((event & EVENT_BITS) == EVENT_PRESS)
- debug_string(" PRESS", 1);
- if ((event & EVENT_BITS) == EVENT_RELEASE)
- debug_string(" RELEASE", 1);
- if ((event & EVENT_BITS) == EVENT_HOLD)
- debug_string(" HOLD", 1);
- if (event & EVENT_WAS_HOLD)
- debug_string(" (WAS HOLD)", 1);
- }
- debug_string("\r\n", 1);
+ // if ((event & EVENT_BITS) == EVENT_JOG)
+ // {
+ // debug_string("JOG", 1);
+ // if ((event & JOG_BITS) == JOG_PLUS)
+ // debug_string("+", 1);
+ // if ((event & JOG_BITS) == JOG_MINUS)
+ // debug_string("-", 1);
+ // debug_dec(event & JOG_TIME_BITS, 1, 0);
+ // }
+ // else
+ // {
+ // if (event & BUTTON_A)
+ // debug_string("A", 1);
+ // if (event & BUTTON_B)
+ // debug_string("B", 1);
+ // if (event & BUTTON_C)
+ // debug_string("C", 1);
+ // if (event & BUTTON_D)
+ // debug_string("D", 1);
+ // if (event & BUTTON_E)
+ // debug_string("E", 1);
+ // if (event & BUTTON_F)
+ // debug_string("F", 1);
+ // if (event & BUTTON_X)
+ // debug_string("X", 1);
+ // if (event & BUTTON_Y)
+ // debug_string("Y", 1);
+ // if ((event & EVENT_BITS) == EVENT_PRESS)
+ // debug_string(" PRESS", 1);
+ // if ((event & EVENT_BITS) == EVENT_RELEASE)
+ // debug_string(" RELEASE", 1);
+ // if ((event & EVENT_BITS) == EVENT_HOLD)
+ // debug_string(" HOLD", 1);
+ // if (event & EVENT_WAS_HOLD)
+ // debug_string(" (WAS HOLD)", 1);
+ // }
+ // debug_string("\r\n", 1);
// execute appropriate event handler for current state
switch (gui_state)