mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-10 05:59:44 +00:00
Fix Bootmgic Mod Handling for LM keycodes (#4740)
This commit is contained in:
parent
afa4763ef5
commit
35f6919673
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ action_t action_for_key(uint8_t layer, keypos_t key)
|
||||||
action.code = ACTION_LAYER_TAP_TOGGLE(keycode & 0xFF);
|
action.code = ACTION_LAYER_TAP_TOGGLE(keycode & 0xFF);
|
||||||
break;
|
break;
|
||||||
case QK_LAYER_MOD ... QK_LAYER_MOD_MAX:
|
case QK_LAYER_MOD ... QK_LAYER_MOD_MAX:
|
||||||
mod = keycode & 0xF;
|
mod = mod_config(keycode & 0xF);
|
||||||
action_layer = (keycode >> 4) & 0xF;
|
action_layer = (keycode >> 4) & 0xF;
|
||||||
action.code = ACTION_LAYER_MODS(action_layer, mod);
|
action.code = ACTION_LAYER_MODS(action_layer, mod);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue