Change key_t to keypos_t - follow Hasu's style
This commit is contained in:
parent
77815a2959
commit
eeb6463091
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ void action_function(keyrecord_t *event, uint8_t id, uint8_t opt)
|
|||
#define FN_ACTIONS_SIZE (sizeof(fn_actions) / sizeof(fn_actions[0]))
|
||||
|
||||
/* translates key to keycode */
|
||||
uint8_t keymap_key_to_keycode(uint8_t layer, key_t key)
|
||||
uint8_t keymap_key_to_keycode(uint8_t layer, keypos_t key)
|
||||
{
|
||||
if (layer < KEYMAPS_SIZE) {
|
||||
return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue