summaryrefslogtreecommitdiff
path: root/common/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/keyboard.h')
-rw-r--r--common/keyboard.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/keyboard.h b/common/keyboard.h
index 2353805e17..37df6a4de0 100644
--- a/common/keyboard.h
+++ b/common/keyboard.h
@@ -29,10 +29,10 @@ extern "C" {
typedef struct {
uint8_t row;
uint8_t col;
-} key_t;
+} keypos_t;
typedef struct {
- key_t key;
+ keypos_t key;
bool pressed;
} keyevent_t;
@@ -45,7 +45,6 @@ typedef struct {
#define KEYEQ(keya, keyb) (keya.row == keyb.row && keya.col == keyb.col)
-
extern uint8_t current_layer;
extern uint8_t default_layer;