Add new layer actions.
This commit is contained in:
parent
4324e16336
commit
411de9cc22
6 changed files with 324 additions and 316 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue