summaryrefslogtreecommitdiffstats
path: root/matrix_skel.h
diff options
context:
space:
mode:
Diffstat (limited to 'matrix_skel.h')
-rw-r--r--matrix_skel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/matrix_skel.h b/matrix_skel.h
index 3086bded74..5a02f207b7 100644
--- a/matrix_skel.h
+++ b/matrix_skel.h
@@ -15,6 +15,8 @@ int matrix_scan(void);
bool matrix_is_modified(void);
/* whether ghosting occur on matrix. */
bool matrix_has_ghost(void);
+/* whether a swtich is on */
+bool matrix_is_on(int row, int col);
/* matrix state on row */
uint16_t matrix_get_row(int row);
/* count keys pressed */