Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

matrix.h 276B

123456789101112131415
  1. #ifndef MATRIX_H
  2. #define MATRIX_H 1
  3. #include <stdbool.h>
  4. extern uint8_t *matrix;
  5. extern uint8_t *matrix_prev;
  6. void matrix_init(void);
  7. uint8_t matrix_scan(void);
  8. bool matrix_is_modified(void);
  9. bool matrix_has_ghost(void);
  10. bool matrix_has_ghost_in_row(uint8_t row);
  11. #endif