summaryrefslogtreecommitdiff
path: root/quantum/keymap_common.c
diff options
context:
space:
mode:
authorFabian Topfstedt <topfstedt@schneevonmorgen.com>2017-06-27 09:22:05 +0200
committerFabian Topfstedt <topfstedt@schneevonmorgen.com>2017-06-27 09:22:05 +0200
commitfe3d75922b2356cd812f0d22ebef8b25b31e9eb4 (patch)
treef3e5893baf3ace0a5b4b6ffde384223aea5ce259 /quantum/keymap_common.c
parent7d0a471051551c3ef9d8a60dbf4bc5b1b2d70cea (diff)
parent61cdc9aaa462afbcbaf57f2c5991e06924caed0e (diff)
Merge https://github.com/qmk/qmk_firmware
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r--quantum/keymap_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c
index 9dafc8b516..b1460c53cc 100644
--- a/quantum/keymap_common.c
+++ b/quantum/keymap_common.c
@@ -123,7 +123,8 @@ action_t action_for_key(uint8_t layer, keypos_t key)
action.code = ACTION_LAYER_TAP_TOGGLE(keycode & 0xFF);
break;
case QK_MOD_TAP ... QK_MOD_TAP_MAX:
- action.code = ACTION_MODS_TAP_KEY((keycode >> 0x8) & 0x1F, keycode & 0xFF);
+ mod = mod_config((keycode >> 0x8) & 0x1F);
+ action.code = ACTION_MODS_TAP_KEY(mod, keycode & 0xFF);
break;
#ifdef BACKLIGHT_ENABLE
case BL_0 ... BL_15: