X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Flightsaber%2Fkeymap.c;h=477da9d865caa70682c09690cb78da20979296e3;hb=53bd4a01be5c4327462e6c6620ea7670eddca6f2;hp=398e51ec4a5ef793cef1dabab57c31395b4b1256;hpb=5ca3bde10aa5d8057895475840800544599ea33f;p=max%2Ftmk_keyboard.git diff --git a/keyboard/lightsaber/keymap.c b/keyboard/lightsaber/keymap.c index 398e51ec..477da9d8 100644 --- a/keyboard/lightsaber/keymap.c +++ b/keyboard/lightsaber/keymap.c @@ -54,7 +54,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)]);