X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboard%2Flightsaber%2Fkeymap.c;h=477da9d865caa70682c09690cb78da20979296e3;hb=e2077cad45f1736e878e317c43bd94117c61b5e0;hp=398e51ec4a5ef793cef1dabab57c31395b4b1256;hpb=1722e04e73301ffa1a4153644230f894570005da;p=tmk_firmware.git diff --git a/keyboard/lightsaber/keymap.c b/keyboard/lightsaber/keymap.c index 398e51e..477da9d 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)]);