diff options
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r-- | quantum/keymap_common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c index da75271727..fc889a3082 100644 --- a/quantum/keymap_common.c +++ b/quantum/keymap_common.c @@ -118,6 +118,10 @@ action_t action_for_key(uint8_t layer, keypos_t key) action_t action; action.code = ACTION_MODS_TAP_KEY((keycode >> 0x8) & 0xF, keycode & 0xFF); return action; + } else if (keycode >= 0x8000 && keycode < 0x9000) { + action_t action; + action.code = ACTION_LAYER_TAP_KEY((keycode >> 0x8) & 0xF, keycode & 0xFF); + return action; #ifdef UNICODE_ENABLE } else if (keycode >= 0x8000000) { action_t action; |