 #include "MusicPlayer.h"
 #include "star.h"
 
+#define DEBOUNCE_DELAY 100
+
 // TODO highScore should be replaced with table in EEPROM
 unsigned int score, highScore = 0;
 byte livesRemaining = 4;

    }

    if (arduboy.pressed(LEFT_BUTTON)) {
      if ( (millis() - lastDebounceTime) > debounceDelay) {
        selectedItem = titleMenuLeftButton(selectedItem);
        lastDebounceTime = millis(); //set the current time
      }
    }

    if (arduboy.pressed(RIGHT_BUTTON)) {
      if ( (millis() - lastDebounceTime) > debounceDelay) {
        selectedItem = titleMenuRightButton(selectedItem);
        lastDebounceTime = millis(); //set the current time
      }

void settingsScreen() {
  // TODO, this is a placeholder
  long lastDebounceTime = 0;  // the last time the button was pressed
  bool exit_settings_menu = false;
  byte selectedItem;

