 #include "OneButton.h"
 
 device_t role = DEVICE0;
+
+int BUTTON_A_SINGLE = 0;
+int BUTTON_B_SINGLE = 1;
+int BUTTON_A_DOUBLE = 2;
+int BUTTON_B_DOUBLE = 3;
+int BUTTON_A_LONG = 4;
+int BUTTON_B_LONG = 5;
 
 int gzllTimeout = 10000;
 


void onClickA()
{
  sendToHost(0);
  resetAndSleep();
}

void onClickB()
{
  sendToHost(1);
  resetAndSleep();
}

void onDoubleClickA()
{
  sendToHost(2);
  resetAndSleep();
}

void onDoubleClickB()
{
  sendToHost(3);
  resetAndSleep();
}

void onLongPressA()
{
  sendToHost(4);
  resetAndSleep();
}

void onLongPressB()
{
  sendToHost(5);
  resetAndSleep();
}


{
  if(gzllRunning){
    RFduinoGZLL.end();
    gzllRunning = false;
  }
}

