summaryrefslogtreecommitdiffstats
path: root/keyboard/hhkb
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-02-13 12:16:24 +0900
committertmk <nobody@nowhere>2013-02-13 12:16:24 +0900
commitc4421f585b085d3eef5e468ff1defcbc3b4ec8d3 (patch)
tree335730a0308cdb2e2ec094fe08ac63ee29ce4f80 /keyboard/hhkb
parent9bc82bf61c342ca96e6f942b169b7c88b6bf95cf (diff)
Change struct key_t
Diffstat (limited to 'keyboard/hhkb')
-rw-r--r--keyboard/hhkb/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/hhkb/keymap.c b/keyboard/hhkb/keymap.c
index b1407e1ad8..ef21282ff1 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)
/* translates key to keycode */
uint8_t keymap_key_to_keycode(uint8_t layer, key_t key)
{
- return pgm_read_byte(&keymaps[(layer)][(key.pos.row)][(key.pos.col)]);
+ return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]);
}
/* translates Fn index to action */