X-Git-Url: https://git.donarmstrong.com/?p=tmk_firmware.git;a=blobdiff_plain;f=keyboard%2Fhhkb%2Fkeymap_common.c;h=e938fb62708343f8bd075bb7956c882c93816739;hp=67b3db85d4f964ee4a8d0d441ea5cdd1025b0a4b;hb=ea60dae6e69bd3b120f2f702aeea691cb6d3d790;hpb=54aee16a84eee27e816a89da5ca0dd3e9294cad9 diff --git a/keyboard/hhkb/keymap_common.c b/keyboard/hhkb/keymap_common.c index 67b3db8..e938fb6 100644 --- a/keyboard/hhkb/keymap_common.c +++ b/keyboard/hhkb/keymap_common.c @@ -21,7 +21,7 @@ along with this program. If not, see . /* 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) { return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]); }