@Override
    public void onToggle(Key key, boolean pressed) {
        InputHandler input = InputHandler.getInstance();

        if (pressed) {
            if (key == input.up)
                selectionUp();
            if (key == input.down)
                selectionDown();
            if (key == input.enter)
                buttons.get(pointer).press();
        }
    }