diff options
author | tmk <nobody@nowhere> | 2010-09-13 00:00:58 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-09-13 00:18:56 +0900 |
commit | 82309deefc21f66d92df08b8eecae8466939e04d (patch) | |
tree | 99e12a16b08f4f5b4b1b8785a076397831d39f88 /matrix.h | |
parent | 3b31337cd8a5fe8b02924f2056ad2648a028c563 (diff) |
add anti-ghost logic
Diffstat (limited to 'matrix.h')
-rw-r--r-- | matrix.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); |