Removed "debounce_algo = manual" in all keyboards with CUSTOM_MATRIX = yes.
This commit is contained in:
parent
9bd6d6112d
commit
3cf7f7322c
8 changed files with 279 additions and 93 deletions
21
tmk_core/common/debounce.h
Normal file
21
tmk_core/common/debounce.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#ifndef DEBOUNCE_H
|
||||
#define DEBOUNCE_H
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include "matrix.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/* called to initialize any data stores your implementation has*/
|
||||
void matrix_debounce_init(void);
|
||||
/* call this every keyboard_task to debounce the matrix*/
|
||||
void matrix_debounce(void);
|
||||
/* matrix state on row */
|
||||
matrix_row_t matrix_debounce_get_row(uint8_t row);
|
||||
/* whether a switch is on */
|
||||
bool matrix_debounce_is_on(uint8_t row, uint8_t col);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue