diff options
author | tmk <nobody@nowhere> | 2013-01-09 22:33:33 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-01-09 22:33:33 +0900 |
commit | 411de9cc22e927313a5a768f3bf41f2f99bca126 (patch) | |
tree | cff699c11ec293df8375566e7a3d186712e72e74 /common/keyboard.h | |
parent | 4324e163360db4c6ebd25cab74d09d42b3021278 (diff) | |
download | firmware-411de9cc22e927313a5a768f3bf41f2f99bca126.tar.gz firmware-411de9cc22e927313a5a768f3bf41f2f99bca126.tar.bz2 firmware-411de9cc22e927313a5a768f3bf41f2f99bca126.zip |
Add new layer actions.
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 37df6a4de..116653661 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; |