aboutsummaryrefslogtreecommitdiffstats
path: root/docs/custom_matrix.md
diff options
context:
space:
mode:
authorフィルターペーパー2025-10-19 04:14:37 +0200
committerGitHub2025-10-19 04:14:37 +0200
commit81df54308687713371ed5fbf4947e38963c7867b (patch)
tree36d0a432adcf7613f8a362f3a534e68b4ddaad19 /docs/custom_matrix.md
parent4f21beb7153c2b0a1f4d41de7dad5a2173f896b6 (diff)
Debounce: Deprecate num_rows parameter (#25632)
Diffstat (limited to 'docs/custom_matrix.md')
-rw-r--r--docs/custom_matrix.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/custom_matrix.md b/docs/custom_matrix.md
index ef206944e1..294b88bb0b 100644
--- a/docs/custom_matrix.md
+++ b/docs/custom_matrix.md
@@ -74,7 +74,7 @@ void matrix_init(void) {
// TODO: initialize hardware and global matrix state here
// Unless hardware debouncing - Init the configured debounce routine
- debounce_init(MATRIX_ROWS);
+ debounce_init();
// This *must* be called for correct keyboard behavior
matrix_init_kb();
@@ -86,7 +86,7 @@ uint8_t matrix_scan(void) {
// TODO: add matrix scanning routine here
// Unless hardware debouncing - use the configured debounce routine
- changed = debounce(raw_matrix, matrix, MATRIX_ROWS, changed);
+ changed = debounce(raw_matrix, matrix, changed);
// This *must* be called for correct keyboard behavior
matrix_scan_kb();