summaryrefslogtreecommitdiff
path: root/matrix.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-09-13 00:00:58 +0900
committertmk <nobody@nowhere>2010-09-13 00:18:56 +0900
commit82309deefc21f66d92df08b8eecae8466939e04d (patch)
tree99e12a16b08f4f5b4b1b8785a076397831d39f88 /matrix.h
parent3b31337cd8a5fe8b02924f2056ad2648a028c563 (diff)
add anti-ghost logic
Diffstat (limited to 'matrix.h')
-rw-r--r--matrix.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/matrix.h b/matrix.h
index 6624215692..d5290916b5 100644
--- a/matrix.h
+++ b/matrix.h
@@ -1,6 +1,10 @@
+#include <stdbool.h>
extern uint8_t *matrix;
-extern uint8_t *prev_matrix;
+extern uint8_t *matrix_prev;
void matrix_init(void);
uint8_t matrix_scan(void);
+bool matrix_is_modified(void);
+bool matrix_has_ghost(void);
+bool matrix_has_ghost_in_row(uint8_t row);