X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboard%2Fphantom%2Fkeymap.c;h=a040434f2478113b6c242f7b35c7708d2247b4cf;hb=e2077cad45f1736e878e317c43bd94117c61b5e0;hp=1899874dd7e6ce545a143a0efcffdd7fd21efbf5;hpb=ce950736a2206c8ae6d471ee691b9b2559878d40;p=tmk_firmware.git diff --git a/keyboard/phantom/keymap.c b/keyboard/phantom/keymap.c index 1899874..a040434 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)]);