Adjust configuration for issue #970 test sketch

With a non-zero default for tap-repeat, the timing of events changed, causing
this testcase to fail.

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/1024/head
Michael Richters 4 years ago
parent 8b1bf403c3
commit b8025a94f3
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -90,6 +90,7 @@ void setup() {
Qukeys.setOverlapThreshold(kaleidoscope::testing::QUKEYS_OVERLAP_THRESHOLD); Qukeys.setOverlapThreshold(kaleidoscope::testing::QUKEYS_OVERLAP_THRESHOLD);
Qukeys.setMinimumHoldTime(kaleidoscope::testing::QUKEYS_MINIMUM_HOLD_TIME); Qukeys.setMinimumHoldTime(kaleidoscope::testing::QUKEYS_MINIMUM_HOLD_TIME);
Qukeys.setMinimumPriorInterval(kaleidoscope::testing::QUKEYS_MIN_PRIOR_INTERVAL); Qukeys.setMinimumPriorInterval(kaleidoscope::testing::QUKEYS_MIN_PRIOR_INTERVAL);
Qukeys.setMaxIntervalForTapRepeat(kaleidoscope::testing::QUKEYS_MAX_INTERVAL_FOR_TAP_REPEAT);
Kaleidoscope.setup(); Kaleidoscope.setup();
} }

@ -27,6 +27,7 @@ constexpr uint16_t QUKEYS_HOLD_TIMEOUT = 200;
constexpr uint8_t QUKEYS_OVERLAP_THRESHOLD = 90; constexpr uint8_t QUKEYS_OVERLAP_THRESHOLD = 90;
constexpr uint8_t QUKEYS_MINIMUM_HOLD_TIME = 10; constexpr uint8_t QUKEYS_MINIMUM_HOLD_TIME = 10;
constexpr uint8_t QUKEYS_MIN_PRIOR_INTERVAL = 20; constexpr uint8_t QUKEYS_MIN_PRIOR_INTERVAL = 20;
constexpr uint8_t QUKEYS_MAX_INTERVAL_FOR_TAP_REPEAT = 0;
} }
} }

Loading…
Cancel
Save