Add a keymatrix_t type
This contains both the matrix number and key position, in preparation for multi-matrix support
This commit is contained in:
parent
c11c7948e6
commit
f9c61b1bbe
14 changed files with 59 additions and 49 deletions
|
@ -50,7 +50,7 @@ typedef struct {
|
|||
void action_exec(keyevent_t event);
|
||||
|
||||
/* action for key */
|
||||
action_t action_for_key(uint8_t layer, keypos_t key);
|
||||
action_t action_for_key(uint8_t layer, keymatrix_t key);
|
||||
|
||||
/* macro */
|
||||
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt);
|
||||
|
@ -94,7 +94,7 @@ void unregister_mods(uint8_t mods);
|
|||
void clear_keyboard(void);
|
||||
void clear_keyboard_but_mods(void);
|
||||
void layer_switch(uint8_t new_layer);
|
||||
bool is_tap_key(keypos_t key);
|
||||
bool is_tap_key(keymatrix_t key);
|
||||
|
||||
#ifndef NO_ACTION_TAPPING
|
||||
void process_record_tap_hint(keyrecord_t *record);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue