diff --git a/src/layers.h b/src/layers.h index 5895f681..b7a62eec 100644 --- a/src/layers.h +++ b/src/layers.h @@ -44,12 +44,14 @@ class Layer_ { uint8_t layer = activeLayers[row][col]; return (*getKey)(layer, row, col); } - static void on(uint8_t layer); static void off(uint8_t layer); static void move(uint8_t layer); static uint8_t top(void); + static uint8_t highest(void) { + return highestLayer; + } static void next(void); static void previous(void);