16 lines
276 B
C
16 lines
276 B
C
#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
|