aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_ez/config.h')
-rw-r--r--keyboards/ergodox_ez/config.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/keyboards/ergodox_ez/config.h b/keyboards/ergodox_ez/config.h
index 7a350183b..ee768853a 100644
--- a/keyboards/ergodox_ez/config.h
+++ b/keyboards/ergodox_ez/config.h
@@ -85,17 +85,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
85 85
86#define RGBW 1 86#define RGBW 1
87 87
88/* "debounce" is measured in keyboard scans. Some users reported 88/*
89 * needing values as high as 15, which was at the time around 50ms. 89 * The debounce filtering reports a key/switch change directly,
90 * without any extra delay. After that the debounce logic will filter
91 * all further changes, until the key/switch reports the same state for
92 * the given count of scans.
93 * So a perfect switch will get a short debounce period and
94 * a bad key will get a much longer debounce period.
95 * The result is an adaptive debouncing period for each switch.
96 *
90 * If you don't define it here, the matrix code will default to 97 * If you don't define it here, the matrix code will default to
91 * 5, which is now closer to 10ms, but still plenty according to 98 * 5, which is now closer to 10ms, but still plenty according to
92 * manufacturer specs. 99 * manufacturer specs.
93 *
94 * Default is quite high, because of reports with some production
95 * runs seeming to need it. This may change when configuration for
96 * this is more directly exposed.
97 */ 100 */
98#define DEBOUNCE 15 101#define DEBOUNCE 10
99 102
100#define USB_MAX_POWER_CONSUMPTION 500 103#define USB_MAX_POWER_CONSUMPTION 500
101 104