summaryrefslogtreecommitdiff
path: root/common/keyboard.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-01-09 22:33:33 +0900
committertmk <nobody@nowhere>2013-01-09 22:33:33 +0900
commit411de9cc22e927313a5a768f3bf41f2f99bca126 (patch)
treecff699c11ec293df8375566e7a3d186712e72e74 /common/keyboard.h
parent4324e163360db4c6ebd25cab74d09d42b3021278 (diff)
Add new layer actions.
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 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;