diff options
Diffstat (limited to 'common/keyboard.h')
-rw-r--r-- | common/keyboard.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/common/keyboard.h b/common/keyboard.h index 37df6a4de0..1166536617 100644 --- a/common/keyboard.h +++ b/common/keyboard.h @@ -34,15 +34,9 @@ typedef struct { typedef struct { keypos_t key; bool pressed; + uint16_t time; } keyevent_t; -typedef struct { - keyevent_t event; - uint8_t code; - uint8_t mods; - uint16_t time; -} keyrecord_t; - #define KEYEQ(keya, keyb) (keya.row == keyb.row && keya.col == keyb.col) extern uint8_t current_layer; |