X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fhhkb%2Fkeymap_common.c;h=e938fb62708343f8bd075bb7956c882c93816739;hb=5a8dbc63ea29eb454ad5f36de5c6c33172230f88;hp=67b3db85d4f964ee4a8d0d441ea5cdd1025b0a4b;hpb=6d76e600958c72491c3a9eda661d23076dde38b0;p=max%2Ftmk_keyboard.git diff --git a/keyboard/hhkb/keymap_common.c b/keyboard/hhkb/keymap_common.c index 67b3db85..e938fb62 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)]); }