Keyboard firmwares for Atmel AVR and Cortex-M
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

12345678910111213141516171819
  1. #ifndef UNO_MATRIX
  2. #define UNO_MATRIX
  3. #define MATRIX_ROWS 4
  4. #define MATRIX_COLS 6
  5. #include <stdbool.h>
  6. typedef uint8_t matrix_row_t;
  7. uint8_t matrix_rows(void);
  8. uint8_t matrix_cols(void);
  9. void matrix_init(void);
  10. uint8_t matrix_scan(void);
  11. bool matrix_is_modified(void);
  12. bool matrix_is_on(uint8_t row, uint8_t col);
  13. matrix_row_t matrix_get_row(uint8_t row);
  14. #endif