diff options
Diffstat (limited to 'quantum/action_tapping.c')
-rw-r--r-- | quantum/action_tapping.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/action_tapping.c b/quantum/action_tapping.c index b64d8b710..d2c93f85e 100644 --- a/quantum/action_tapping.c +++ b/quantum/action_tapping.c | |||
@@ -113,7 +113,7 @@ void action_tapping_process(keyrecord_t record) { | |||
113 | /* return true when key event is processed or consumed. */ | 113 | /* return true when key event is processed or consumed. */ |
114 | bool process_tapping(keyrecord_t *keyp) { | 114 | bool process_tapping(keyrecord_t *keyp) { |
115 | keyevent_t event = keyp->event; | 115 | keyevent_t event = keyp->event; |
116 | # if (defined(AUTO_SHIFT_ENABLE) && defined(RETRO_SHIFT)) || defined(TAPPING_TERM_PER_KEY) || defined(PERMISSIVE_HOLD_PER_KEY) || defined(TAPPING_FORCE_HOLD_PER_KEY) || defined(HOLD_ON_OTHER_KEYPRESS_PER_KEY) | 116 | # if (defined(AUTO_SHIFT_ENABLE) && defined(RETRO_SHIFT)) || defined(TAPPING_TERM_PER_KEY) || defined(PERMISSIVE_HOLD_PER_KEY) || defined(TAPPING_FORCE_HOLD_PER_KEY) || defined(HOLD_ON_OTHER_KEY_PRESS_PER_KEY) |
117 | uint16_t tapping_keycode = get_record_keycode(&tapping_key, false); | 117 | uint16_t tapping_keycode = get_record_keycode(&tapping_key, false); |
118 | # endif | 118 | # endif |
119 | 119 | ||
@@ -184,11 +184,11 @@ bool process_tapping(keyrecord_t *keyp) { | |||
184 | ( | 184 | ( |
185 | ( | 185 | ( |
186 | false | 186 | false |
187 | # if defined(HOLD_ON_OTHER_KEYPRESS) || defined(HOLD_ON_OTHER_KEYPRESS_PER_KEY) | 187 | # if defined(HOLD_ON_OTHER_KEY_PRESS) || defined(HOLD_ON_OTHER_KEY_PRESS_PER_KEY) |
188 | || ( | 188 | || ( |
189 | IS_LT(tapping_keycode) | 189 | IS_LT(tapping_keycode) |
190 | # ifdef HOLD_ON_OTHER_KEYPRESS_PER_KEY | 190 | # ifdef HOLD_ON_OTHER_KEY_PRESS_PER_KEY |
191 | && get_hold_on_other_keypress(tapping_keycode, keyp) | 191 | && get_hold_on_other_key_press(tapping_keycode, keyp) |
192 | # endif | 192 | # endif |
193 | ) | 193 | ) |
194 | # endif | 194 | # endif |