2010-09-30 05:17:01 +00:00
|
|
|
#ifndef MATRIX_H
|
|
|
|
#define MATRIX_H 1
|
|
|
|
|
2010-09-12 15:00:58 +00:00
|
|
|
#include <stdbool.h>
|
2010-08-23 06:46:24 +00:00
|
|
|
|
|
|
|
extern uint8_t *matrix;
|
2010-09-12 15:00:58 +00:00
|
|
|
extern uint8_t *matrix_prev;
|
2010-08-23 06:46:24 +00:00
|
|
|
|
|
|
|
void matrix_init(void);
|
|
|
|
uint8_t matrix_scan(void);
|
2010-09-12 15:00:58 +00:00
|
|
|
bool matrix_is_modified(void);
|
|
|
|
bool matrix_has_ghost(void);
|
|
|
|
bool matrix_has_ghost_in_row(uint8_t row);
|
2010-09-30 05:17:01 +00:00
|
|
|
|
|
|
|
#endif
|