From 35f6919673c57a9fea9305a001c0069e8bbc2844 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Wed, 6 Feb 2019 12:43:25 -0800 Subject: Fix Bootmgic Mod Handling for LM keycodes (#4740) --- quantum/keymap_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quantum') diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c index 1a6af9e08..9d2d331ce 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; -- cgit v1.2.3-70-g09d2