X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fgh60%2Fkeymap_common.c;h=fdb1769e1c0ea10d3f7ecaa52624367138d572f0;hb=885e7adb18fb6039f0fe66de23e0622af923f7d1;hp=7b6379f6b6550ace7f9c8e841823621e756f4fda;hpb=22e293696db661dc83f4c463507c0dd410b4c147;p=max%2Ftmk_keyboard.git diff --git a/keyboard/gh60/keymap_common.c b/keyboard/gh60/keymap_common.c index 7b6379f6..fdb1769e 100644 --- a/keyboard/gh60/keymap_common.c +++ b/keyboard/gh60/keymap_common.c @@ -18,7 +18,7 @@ along with this program. If not, see . /* 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) { return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]); }