diff options
Diffstat (limited to 'keyboard/hhkb/keymap.c')
| -rw-r--r-- | keyboard/hhkb/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/hhkb/keymap.c b/keyboard/hhkb/keymap.c index b1407e1ad..ef21282ff 100644 --- a/keyboard/hhkb/keymap.c +++ b/keyboard/hhkb/keymap.c | |||
| @@ -314,7 +314,7 @@ void keymap_call_function(keyrecord_t *record, uint8_t id, uint8_t opt) | |||
| 314 | /* translates key to keycode */ | 314 | /* translates key to keycode */ |
| 315 | uint8_t keymap_key_to_keycode(uint8_t layer, key_t key) | 315 | uint8_t keymap_key_to_keycode(uint8_t layer, key_t key) |
| 316 | { | 316 | { |
| 317 | return pgm_read_byte(&keymaps[(layer)][(key.pos.row)][(key.pos.col)]); | 317 | return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]); |
| 318 | } | 318 | } |
| 319 | 319 | ||
| 320 | /* translates Fn index to action */ | 320 | /* translates Fn index to action */ |
