X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboard%2Flightpad%2Fkeymap.c;h=2ca79a81b5ef47a4f506c2ec944b0601cb2b79ec;hb=e2077cad45f1736e878e317c43bd94117c61b5e0;hp=6d078230bb7f2b78e4cec168eb0171fc9c18804a;hpb=10eb70acb4c8a03fc5bda32d9c23fc41266aef7a;p=tmk_firmware.git diff --git a/keyboard/lightpad/keymap.c b/keyboard/lightpad/keymap.c index 6d07823..2ca79a8 100644 --- a/keyboard/lightpad/keymap.c +++ b/keyboard/lightpad/keymap.c @@ -50,7 +50,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)]);