diff --git a/keyboard/tentapad/matrix.c b/keyboard/tentapad/matrix.c index 438b8c41..939afee5 100644 --- a/keyboard/tentapad/matrix.c +++ b/keyboard/tentapad/matrix.c @@ -92,39 +92,21 @@ uint8_t matrix_scan(void) { matrix_row_t cols = read_cols(); for (uint8_t col = 0; col < MATRIX_COLS; col++) { - if ((cols & (1< DEBOUNCE) { - // released + if (debouncing & (1< DEBOUNCE) { + debouncing &= ~(1< DEBOUNCE) { - // released - matrix &= ~(1<