summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-02-06 12:43:25 -0800
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-06 12:43:25 -0800
commit35f6919673c57a9fea9305a001c0069e8bbc2844 (patch)
treeb2c309189a07d67c41a98a4a96de18cc9739be91
parentafa4763ef55abcf122c07700e1c1fd012973fea2 (diff)
Fix Bootmgic Mod Handling for LM keycodes (#4740)
-rw-r--r--quantum/keymap_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c
index 1a6af9e08f..9d2d331ce5 100644
--- a/quantum/keymap_common.c
+++ b/quantum/keymap_common.c
@@ -127,7 +127,7 @@ action_t action_for_key(uint8_t layer, keypos_t key)
action.code = ACTION_LAYER_TAP_TOGGLE(keycode & 0xFF);
break;
case QK_LAYER_MOD ... QK_LAYER_MOD_MAX:
- mod = keycode & 0xF;
+ mod = mod_config(keycode & 0xF);
action_layer = (keycode >> 4) & 0xF;
action.code = ACTION_LAYER_MODS(action_layer, mod);
break;