aboutsummaryrefslogtreecommitdiffstats
path: root/common/keymap.c
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2013-02-13 12:16:24 +0900
committerGravatar tmk <nobody@nowhere>2013-02-13 12:16:24 +0900
commitc4421f585b085d3eef5e468ff1defcbc3b4ec8d3 (patch)
tree335730a0308cdb2e2ec094fe08ac63ee29ce4f80 /common/keymap.c
parent9bc82bf61c342ca96e6f942b169b7c88b6bf95cf (diff)
downloadqmk_firmware-c4421f585b085d3eef5e468ff1defcbc3b4ec8d3.tar.gz
Change struct key_t
Diffstat (limited to 'common/keymap.c')
-rw-r--r--common/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/keymap.c b/common/keymap.c
index 6bae17f99..078615814 100644
--- a/common/keymap.c
+++ b/common/keymap.c
@@ -58,7 +58,7 @@ __attribute__ ((weak))
action_t action_for_key(uint8_t layer, key_t key)
{
/* convert from legacy keycode to action */
- uint8_t keycode = keymap_get_keycode(layer, key.pos.row, key.pos.col);
+ uint8_t keycode = keymap_get_keycode(layer, key.row, key.col);
action_t action;
switch (keycode) {
case KC_FN0 ... KC_FN31: