Change struct key_t
This commit is contained in:
parent
9bc82bf61c
commit
c4421f585b
6 changed files with 9 additions and 15 deletions
|
@ -58,7 +58,7 @@ __attribute__ ((weak))
|
|||
action_t action_for_key(uint8_t layer, key_t key)
|
||||
{
|
||||
/* convert from legacy keycode to action */
|
||||
uint8_t keycode = keymap_get_keycode(layer, key.pos.row, key.pos.col);
|
||||
uint8_t keycode = keymap_get_keycode(layer, key.row, key.col);
|
||||
action_t action;
|
||||
switch (keycode) {
|
||||
case KC_FN0 ... KC_FN31:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue