summaryrefslogtreecommitdiff
path: root/matrix.h
blob: d5290916b5bf5261787437e173a4d1848600fa9b (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdbool.h>

extern uint8_t *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);