diff options
Diffstat (limited to 'quantum/debounce.h')
-rw-r--r-- | quantum/debounce.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/debounce.h b/quantum/debounce.h index 7fe2d693d..34b952ee7 100644 --- a/quantum/debounce.h +++ b/quantum/debounce.h | |||
@@ -16,11 +16,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
16 | 16 | ||
17 | #include "matrix.h" | 17 | #include "matrix.h" |
18 | 18 | ||
19 | void debounce_init(void); //every debounce algorithm will have unique storage needs. | 19 | void debounce_init(uint8_t num_rows); //every debounce algorithm will have unique storage needs. |
20 | 20 | ||
21 | // raw is the current key state | 21 | // raw is the current key state |
22 | // cooked is the debounced input/output key state | 22 | // cooked is the debounced input/output key state |
23 | // changed is true if raw has changed since the last call | 23 | // changed is true if raw has changed since the last call |
24 | void debounce(matrix_row_t raw[], matrix_row_t cooked[], bool changed); | 24 | void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool changed); |
25 | 25 | ||
26 | bool debounce_active(void); | 26 | bool debounce_active(void); |