Set our default debounce cycle time to bottom out at approximately 1500uS instead of 17000us. Measured, this gets us a 5ms debounce pretty reliably.

pull/879/head
Jesse Vincent 4 years ago
parent a6e5c0a6f8
commit ad83388ef9
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -33,7 +33,6 @@ namespace keyboardio {
struct AtreusProps : kaleidoscope::device::ATmega32U4KeyboardProps { struct AtreusProps : kaleidoscope::device::ATmega32U4KeyboardProps {
struct KeyScannerProps : public kaleidoscope::driver::keyscanner::ATmegaProps { struct KeyScannerProps : public kaleidoscope::driver::keyscanner::ATmegaProps {
static const uint16_t keyscan_interval = 2700;
static constexpr uint8_t matrix_rows = 4; static constexpr uint8_t matrix_rows = 4;
static constexpr uint8_t matrix_columns = 12; static constexpr uint8_t matrix_columns = 12;

@ -34,7 +34,7 @@ namespace driver {
namespace keyscanner { namespace keyscanner {
struct ATmegaProps: kaleidoscope::driver::keyscanner::BaseProps { struct ATmegaProps: kaleidoscope::driver::keyscanner::BaseProps {
static const uint16_t keyscan_interval = 1700; static const uint16_t keyscan_interval = 1500;
typedef uint16_t RowState; typedef uint16_t RowState;
/* /*

Loading…
Cancel
Save