diff options
author | Pascal Getreuer <[email protected]> | 2023-02-14 12:44:42 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-14 12:44:42 -0800 |
commit | 7d692d64f3997b816607c282b09fecae14212fe6 (patch) | |
tree | 1a02ea54dfd987eee162f41031e512351878036b /quantum | |
parent | 9908ed7ecd1bc0c45f0322b959811bd8fd641961 (diff) | |
download | qmk_firmware-7d692d64f3997b816607c282b09fecae14212fe6.tar.gz qmk_firmware-7d692d64f3997b816607c282b09fecae14212fe6.zip |
Fix Layer Mod handling of with right-handed mods. (#19845)
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/keymap_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c index f4982e8291..b4feb39739 100644 --- a/quantum/keymap_common.c +++ b/quantum/keymap_common.c @@ -128,7 +128,7 @@ action_t action_for_keycode(uint16_t keycode) { case QK_LAYER_MOD ... QK_LAYER_MOD_MAX: mod = mod_config(QK_LAYER_MOD_GET_MODS(keycode)); action_layer = QK_LAYER_MOD_GET_LAYER(keycode); - action.code = ACTION_LAYER_MODS(action_layer, mod); + action.code = ACTION_LAYER_MODS(action_layer, (mod & 0x10) ? mod << 4 : mod); break; #endif #ifndef NO_ACTION_TAPPING |