 #define ENC_RIGHT_PIN 3
 #define ENC_LEFT_PIN  4
 
+#define INPUT_POLL_INTERVAL 100
+
 //#define ANDROID_CENTRAL
 
 BLEHIDPeripheral bleHIDPeripheral = BLEHIDPeripheral(BLE_REQ, BLE_RDY, BLE_RST);

    encoder.write(0);
  }
}


Encoder encoder(ENC_RIGHT_PIN, ENC_LEFT_PIN);

int buttonState;
unsigned long lastInputPollTime = 0;

void setup() {
  Serial.begin(115200);
