X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fhid_liber%2Fkeymap.c;h=433a620975928550c45dd8e5b941c150903ef0ec;hb=75a59e4d12a13efc03cacd85b394fcf1204aad76;hp=f17d3762b9422a524592838e6ce83047a8a43592;hpb=e0cb9cf30bd9d326bc379bcca6ec44e86ca7c283;p=max%2Ftmk_keyboard.git diff --git a/keyboard/hid_liber/keymap.c b/keyboard/hid_liber/keymap.c index f17d3762..433a6209 100644 --- a/keyboard/hid_liber/keymap.c +++ b/keyboard/hid_liber/keymap.c @@ -103,7 +103,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)]);