X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fphantom%2Fkeymap.c;h=a040434f2478113b6c242f7b35c7708d2247b4cf;hb=e259a722e7e8abcb97606b6cfbcce99667a66277;hp=1899874dd7e6ce545a143a0efcffdd7fd21efbf5;hpb=6e548590c4094db97aef1c0ad1a57beb90f653da;p=max%2Ftmk_keyboard.git diff --git a/keyboard/phantom/keymap.c b/keyboard/phantom/keymap.c index 1899874d..a040434f 100644 --- a/keyboard/phantom/keymap.c +++ b/keyboard/phantom/keymap.c @@ -128,7 +128,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)]);