summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ChangeLog/20251130/PR25632.md4
-rw-r--r--docs/custom_matrix.md4
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/ChangeLog/20251130/PR25632.md b/docs/ChangeLog/20251130/PR25632.md
new file mode 100644
index 0000000000..39136067b9
--- /dev/null
+++ b/docs/ChangeLog/20251130/PR25632.md
@@ -0,0 +1,4 @@
1# Changes Requiring User Action
2## Debounce: Deprecate init and remove num_rows parameter [#25632](https://github.com/qmk/qmk_firmware/pull/25632)
3
4With dynamic memory allocation removed from all debounce implementations ([#25515](https://github.com/qmk/qmk_firmware/pull/25515)), the `num_rows` parameter has been removed from the `debounce_init()` and `debounce()` functions. The `MATRIX_ROWS_PER_HAND` is now used by default in every implementation.
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) {
74 // TODO: initialize hardware and global matrix state here 74 // TODO: initialize hardware and global matrix state here
75 75
76 // Unless hardware debouncing - Init the configured debounce routine 76 // Unless hardware debouncing - Init the configured debounce routine
77 debounce_init(MATRIX_ROWS); 77 debounce_init();
78 78
79 // This *must* be called for correct keyboard behavior 79 // This *must* be called for correct keyboard behavior
80 matrix_init_kb(); 80 matrix_init_kb();
@@ -86,7 +86,7 @@ uint8_t matrix_scan(void) {
86 // TODO: add matrix scanning routine here 86 // TODO: add matrix scanning routine here
87 87
88 // Unless hardware debouncing - use the configured debounce routine 88 // Unless hardware debouncing - use the configured debounce routine
89 changed = debounce(raw_matrix, matrix, MATRIX_ROWS, changed); 89 changed = debounce(raw_matrix, matrix, changed);
90 90
91 // This *must* be called for correct keyboard behavior 91 // This *must* be called for correct keyboard behavior
92 matrix_scan_kb(); 92 matrix_scan_kb();