* Set default debounce to 30
Lower debounce causes issues, and even 15 isn't lowe enough for the EZ
* Cleanup ergodox ez matrix
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
+#define DEBOUNCE 30
+
#define TAPPING_TOGGLE 1
/* define if matrix has ghost */
#include "matrix.h"
#include "debounce.h"
#include QMK_KEYBOARD_H
+
+// Only enable this if console is enabled to print to
+#if defined(DEBUG_MATRIX_SCAN_RATE) && !defined(CONSOLE_ENABLE)
+# undef DEBUG_MATRIX_SCAN_RATE
+#endif
+
#ifdef DEBUG_MATRIX_SCAN_RATE
# include "timer.h"
#endif
* that comment was written.)
*/
-#ifndef DEBOUNCE
-# define DEBOUNCE 5
-#endif
-
/* matrix state(1:on, 0:off) */
static matrix_row_t raw_matrix[MATRIX_ROWS]; // raw values
static matrix_row_t matrix[MATRIX_ROWS]; // debounced values