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