From 411de9cc22e927313a5a768f3bf41f2f99bca126 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 9 Jan 2013 22:33:33 +0900 Subject: Add new layer actions. --- common/keyboard.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'common/keyboard.h') 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; -- cgit v1.2.3