diff options
author | Xyverz <xyverz@gmail.com> | 2017-02-20 23:54:09 -0800 |
---|---|---|
committer | Xyverz <xyverz@gmail.com> | 2017-02-20 23:54:09 -0800 |
commit | bf6f7a623dbe4e3bba4bcc6d86ac28b842226825 (patch) | |
tree | 59ce47b0d4b21a2606e1f6d367317af8bdbd06ae /quantum/keymap_common.c | |
parent | ca1ec7b121c973fae614e69093f40ee9ba25e629 (diff) | |
parent | 7ff41df32c29bca4e3a6efc3047b8fa93bb99b92 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r-- | quantum/keymap_common.c | 3 |
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; |