summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorAnte Laurijssen <antelaurijssen@gmail.com>2017-05-21 08:44:52 -0400
committerAnte Laurijssen <antelaurijssen@gmail.com>2017-05-21 08:44:52 -0400
commit34a1bf9e20f94d7932036f9d2026e45ca825be71 (patch)
tree6fc66ec1e5f0c0416207dd363934e55edf465769 /tmk_core
parentb766407cbe07e78f5cf5ce2ec77694541d598e0e (diff)
parentc7e9e643fa411266dfb9b08831967d29426b29bc (diff)
Merge https://github.com/qmk/qmk_firmware
Update my qmk_firmware fork
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/action.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index 8640dfab35..a534f818ec 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -26,6 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "action_macro.h"
#include "action_util.h"
#include "action.h"
+#include "wait.h"
#ifdef DEBUG_ACTION
#include "debug.h"
@@ -438,6 +439,9 @@ void process_action(keyrecord_t *record, action_t action)
} else {
if (tap_count > 0) {
dprint("KEYMAP_TAP_KEY: Tap: unregister_code\n");
+ if (action.layer_tap.code == KC_CAPS) {
+ wait_ms(80);
+ }
unregister_code(action.layer_tap.code);
} else {
dprint("KEYMAP_TAP_KEY: No tap: Off on release\n");