summaryrefslogtreecommitdiff
path: root/quantum/keymap_common.c
diff options
context:
space:
mode:
authormilestogo <milestogo@users.noreply.github.com>2017-03-08 15:50:46 -0800
committermilestogo <milestogo@users.noreply.github.com>2017-03-08 15:50:46 -0800
commitffb04bad660ba7c487e4b923e4391b6c7dd5eddd (patch)
treede8446b9b4d62611b7ff7c99394cbdb73ffe558e /quantum/keymap_common.c
parent1622d7147b1647a7e0da47386c919a5a95cd1a29 (diff)
parentbfa7e6ce04624f624cb8925cd5b5490801ced738 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r--quantum/keymap_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c
index 54b872d49e..002eabd85e 100644
--- a/quantum/keymap_common.c
+++ b/quantum/keymap_common.c
@@ -119,6 +119,9 @@ action_t action_for_key(uint8_t layer, keypos_t key)
mod = keycode & 0xFF;
action.code = ACTION_MODS_ONESHOT(mod);
break;
+ case QK_LAYER_TAP_TOGGLE ... QK_LAYER_TAP_TOGGLE_MAX:
+ action.code = ACTION_LAYER_TAP_TOGGLE(keycode & 0xFF);
+ break;
case QK_MOD_TAP ... QK_MOD_TAP_MAX:
action.code = ACTION_MODS_TAP_KEY((keycode >> 0x8) & 0x1F, keycode & 0xFF);
break;