+#include <Keyboard.h>
+#include <Mouse.h>
+
 const int TOGGLE_BTN = 2;
 const int LEFT_BTN = 12;
 const int RIGHT_BTN = 11;              

  
  if (toggleOn) {
    if (digitalRead(LEFT_BTN)){
      Serial.println("Read left button");  
    }
    else if (digitalRead(RIGHT_BTN)){
      Serial.println("Read right button");
    }
  }
}

  pinMode(LEFT_BTN, INPUT);
  pinMode(RIGHT_BTN, INPUT);
  pinMode(LED, OUTPUT);

  Keyboard.begin();
  Mouse.begin();
}

//this code runs continuously
void loop() {
  
  if (digitalRead(TOGGLE_BTN)){
    //invert the state of the boolean variable
    toggleOn = !toggleOn;
    if (toggleOn){
      digitalWrite(LED, HIGH);
