aboutsummaryrefslogtreecommitdiff
path: root/common/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/keyboard.h')
-rw-r--r--common/keyboard.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/common/keyboard.h b/common/keyboard.h
index 37df6a4de..116653661 100644
--- a/common/keyboard.h
+++ b/common/keyboard.h
@@ -34,15 +34,9 @@ typedef struct {
34typedef struct { 34typedef struct {
35 keypos_t key; 35 keypos_t key;
36 bool pressed; 36 bool pressed;
37 uint16_t time;
37} keyevent_t; 38} keyevent_t;
38 39
39typedef struct {
40 keyevent_t event;
41 uint8_t code;
42 uint8_t mods;
43 uint16_t time;
44} keyrecord_t;
45
46#define KEYEQ(keya, keyb) (keya.row == keyb.row && keya.col == keyb.col) 40#define KEYEQ(keya, keyb) (keya.row == keyb.row && keya.col == keyb.col)
47 41
48extern uint8_t current_layer; 42extern uint8_t current_layer;