diff options
author | Jun Wako <wakojun@gmail.com> | 2015-04-23 20:15:35 +0900 |
---|---|---|
committer | Jun Wako <wakojun@gmail.com> | 2015-04-23 20:18:01 +0900 |
commit | 1f4a22ee81ec1986d1ca190c78c66231d37b50e2 (patch) | |
tree | b49acd5126aed2dd5ecd456922d030cc0ffcdf47 /tmk_core/common/action.c | |
parent | 3f32b224788f9e938e41e02f6ad6fcbbec67479f (diff) | |
download | qmk_firmware-1f4a22ee81ec1986d1ca190c78c66231d37b50e2.tar.gz qmk_firmware-1f4a22ee81ec1986d1ca190c78c66231d37b50e2.zip |
Remove unneeded tap delays #201
Diffstat (limited to 'tmk_core/common/action.c')
-rw-r--r-- | tmk_core/common/action.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index ec8eeae7bc..1f15bd0918 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c @@ -518,7 +518,12 @@ bool is_tap_key(keypos_t key) case ACT_RMODS_TAP: case ACT_LAYER_TAP: case ACT_LAYER_TAP_EXT: - return true; + switch (action.layer_tap.code) { + case 0x00 ... 0xdf: + case OP_TAP_TOGGLE: + return true; + } + return false; case ACT_MACRO: case ACT_FUNCTION: if (action.func.opt & FUNC_TAP) { return true; } |