X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fkmac%2Fkeymap.c;h=1ffa60387e83511efec9bd7876c473934e15f35b;hb=d5e5dbd0aa28477884940ce045da09a9168859d8;hp=5474b1b65e95c4a7e6d84129eb26d62d45c10b10;hpb=43e5ca60af373cd0612a0ff51dccd7d784c4a6dd;p=max%2Ftmk_keyboard.git diff --git a/keyboard/kmac/keymap.c b/keyboard/kmac/keymap.c index 5474b1b6..1ffa6038 100644 --- a/keyboard/kmac/keymap.c +++ b/keyboard/kmac/keymap.c @@ -74,7 +74,7 @@ along with this program. If not, see . #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)]);