diff options
author | Adam Bell <agbell@gmail.com> | 2017-05-31 21:34:34 -0400 |
---|---|---|
committer | Adam Bell <agbell@gmail.com> | 2017-06-03 10:28:46 -0400 |
commit | 4ab61344f5fa3448639fb464faefb577b0442bfa (patch) | |
tree | b0d462b2c678fdd99e9e35a930066f9773964ac4 | |
parent | 587b0de6e563fa277c8661f2c5c48070bd004f4f (diff) |
Adding permissive_hold
-rw-r--r-- | keyboards/lets_split/keymaps/adam/config.h | 1 | ||||
-rw-r--r-- | tmk_core/common/action_tapping.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/lets_split/keymaps/adam/config.h b/keyboards/lets_split/keymaps/adam/config.h index fbd739f320..177dd22d7e 100644 --- a/keyboards/lets_split/keymaps/adam/config.h +++ b/keyboards/lets_split/keymaps/adam/config.h @@ -40,3 +40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define TAPPING_TERM 200 //At 500 some bad logic takes hold #define PREVENT_STUCK_MODIFIERS #define IGNORE_MOD_TAP_INTERRUPT +#define PERMISSIVE_HOLD diff --git a/tmk_core/common/action_tapping.c b/tmk_core/common/action_tapping.c index bd9a69ae0a..531a3ca345 100644 --- a/tmk_core/common/action_tapping.c +++ b/tmk_core/common/action_tapping.c @@ -96,7 +96,7 @@ bool process_tapping(keyrecord_t *keyp) // enqueue return false; } -#if TAPPING_TERM >= 500 +#if TAPPING_TERM >= 500 || defined PERMISSIVE_HOLD /* Process a key typed within TAPPING_TERM * This can register the key before settlement of tapping, * useful for long TAPPING_TERM but may prevent fast typing. |