File tree 2 files changed +5
-1
lines changed
tests/tap_hold_configurations/quick_tap
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ void action_tapping_process(keyrecord_t record) {
122
122
* readable. The conditional definition of tapping_keycode and all the
123
123
* conditional uses of it are hidden inside macros named TAP_...
124
124
*/
125
- # if (defined(AUTO_SHIFT_ENABLE ) && defined(RETRO_SHIFT )) || defined(PERMISSIVE_HOLD_PER_KEY ) || defined(QUICK_TAP_TERM_PER_KEY ) || defined( HOLD_ON_OTHER_KEY_PRESS_PER_KEY )
125
+ # if (defined(AUTO_SHIFT_ENABLE ) && defined(RETRO_SHIFT )) || defined(PERMISSIVE_HOLD_PER_KEY ) || defined(HOLD_ON_OTHER_KEY_PRESS_PER_KEY )
126
126
# define TAP_DEFINE_KEYCODE uint16_t tapping_keycode = get_record_keycode(&tapping_key, false)
127
127
# else
128
128
# define TAP_DEFINE_KEYCODE
Original file line number Diff line number Diff line change 19
19
#include "test_common.h"
20
20
21
21
#define QUICK_TAP_TERM 100
22
+ // Although a seemingly superfluous addition since the default per-key function behaves
23
+ // no differently from defining a single global QUICK_TAP_TERM, this has been useful
24
+ // to catch compilation errors and prevent regressions in the future; see PR #19893.
25
+ #define QUICK_TAP_TERM_PER_KEY
You can’t perform that action at this time.
0 commit comments