summaryrefslogtreecommitdiffstats
path: root/matrix.h
blob: 74b5f894b1173efc5e411409c4947fbbe604377b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef MATRIX_H
#define  MATRIX_H 1

#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);

#endif