diff options
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/common/action_tapping.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tmk_core/common/action_tapping.c b/tmk_core/common/action_tapping.c index 65ef0a185..acce3ee51 100644 --- a/tmk_core/common/action_tapping.c +++ b/tmk_core/common/action_tapping.c | |||
| @@ -122,13 +122,12 @@ bool process_tapping(keyrecord_t *keyp) { | |||
| 122 | # if defined(TAPPING_TERM_PER_KEY) || (TAPPING_TERM >= 500) || defined(PERMISSIVE_HOLD) || defined(PERMISSIVE_HOLD_PER_KEY) | 122 | # if defined(TAPPING_TERM_PER_KEY) || (TAPPING_TERM >= 500) || defined(PERMISSIVE_HOLD) || defined(PERMISSIVE_HOLD_PER_KEY) |
| 123 | else if ( | 123 | else if ( |
| 124 | # ifdef TAPPING_TERM_PER_KEY | 124 | # ifdef TAPPING_TERM_PER_KEY |
| 125 | (get_tapping_term(get_event_keycode(tapping_key.event)) >= 500) && | 125 | (get_tapping_term(get_event_keycode(tapping_key.event)) >= 500) && |
| 126 | # endif | 126 | # endif |
| 127 | # ifdef PERMISSIVE_HOLD_PER_KEY | 127 | # ifdef PERMISSIVE_HOLD_PER_KEY |
| 128 | !get_permissive_hold(get_event_keycode(tapping_key.event), keyp) && | 128 | !get_permissive_hold(get_event_keycode(tapping_key.event), keyp) && |
| 129 | # endif | 129 | # endif |
| 130 | IS_RELEASED(event) && waiting_buffer_typed(event)) | 130 | IS_RELEASED(event) && waiting_buffer_typed(event)) { |
| 131 | { | ||
| 132 | debug("Tapping: End. No tap. Interfered by typing key\n"); | 131 | debug("Tapping: End. No tap. Interfered by typing key\n"); |
| 133 | process_record(&tapping_key); | 132 | process_record(&tapping_key); |
| 134 | tapping_key = (keyrecord_t){}; | 133 | tapping_key = (keyrecord_t){}; |
