Merge pull request #179 from keyboardio/f/Layer.highest

Layer: Add Layer.highest() to access the cached highestLayer
pull/181/head
Jesse Vincent 7 years ago committed by GitHub
commit a54dd140e1

@ -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);

Loading…
Cancel
Save