summaryrefslogtreecommitdiffstats
path: root/quantum/debounce.h
diff options
context:
space:
mode:
authoralex-ong <the.onga@gmail.com>2019-01-26 07:10:27 +0100
committeralex-ong <the.onga@gmail.com>2019-01-26 07:10:27 +0100
commit123608fb318a42500d64d29aa46c7d08140033fd (patch)
tree034040c60d2f5a5b768e4ada990c08aa195951c5 /quantum/debounce.h
parentd0b691df0ee74863ca54ca697aa4d4212cf401a7 (diff)
downloadqmk_firmware-123608fb318a42500d64d29aa46c7d08140033fd.tar.gz
qmk_firmware-123608fb318a42500d64d29aa46c7d08140033fd.tar.xz
DO NOT USE Revert back to original API to support split_keyboards.
Diffstat (limited to 'quantum/debounce.h')
-rw-r--r--quantum/debounce.h4
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/>.
#include "matrix.h"
-void debounce_init(void); //every debounce algorithm will have unique storage needs.
+void debounce_init(uint8_t num_rows); //every debounce algorithm will have unique storage needs.
// raw is the current key state
// cooked is the debounced input/output key state
// changed is true if raw has changed since the last call
-void debounce(matrix_row_t raw[], matrix_row_t cooked[], bool changed);
+void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool changed);
bool debounce_active(void);