From 461e0d3d8c82cc78d29d3115af3c417bb51bb50f Mon Sep 17 00:00:00 2001 From: tmk <nobody@nowhere> Date: Tue, 26 Oct 2010 21:32:45 +0900 Subject: ADD: keymap macro for human to read easier ADD: controller.h for controller board definition(teensy) ADD: debug toggle --- matrix_skel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'matrix_skel.h') 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 */ -- cgit v1.2.3