core: allow locking the matrix state (#18852)
Co-authored-by: Sergey Vlasov <sigprof@gmail.com> Co-authored-by: Stefan Kerkmann <karlk90@pm.me> Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
parent
db1eeea478
commit
3ae87b1555
2 changed files with 15 additions and 1 deletions
|
@ -51,6 +51,8 @@ void matrix_setup(void);
|
|||
void matrix_init(void);
|
||||
/* scan all key states on matrix */
|
||||
uint8_t matrix_scan(void);
|
||||
/* whether matrix scanning operations should be executed */
|
||||
bool matrix_can_read(void);
|
||||
/* whether a switch is on */
|
||||
bool matrix_is_on(uint8_t row, uint8_t col);
|
||||
/* matrix state on row */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue