summaryrefslogtreecommitdiff
path: root/matrix_skel.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-10-26 21:32:45 +0900
committertmk <nobody@nowhere>2010-10-26 21:32:45 +0900
commit461e0d3d8c82cc78d29d3115af3c417bb51bb50f (patch)
tree844b28eed904f72aa18873f25de435379fa1bad3 /matrix_skel.h
parent7a336b05ec2d1056fe2206ae218199c66e8980da (diff)
ADD: keymap macro for human to read easier
ADD: controller.h for controller board definition(teensy) ADD: debug toggle
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 */