diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-07-05 23:40:54 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-07-05 23:40:54 -0400 |
commit | ce01f88c43adef9344727998f53bb1cf74913f65 (patch) | |
tree | 04383fda1ca95a43ccacb482ef258a481f190f28 /keyboards/lets_split/uno_slave/uno-matrix.h | |
parent | d707738616c140f8d9c8eded7b64e5fc806f4b24 (diff) | |
download | qmk_firmware-ce01f88c43adef9344727998f53bb1cf74913f65.tar.gz qmk_firmware-ce01f88c43adef9344727998f53bb1cf74913f65.zip |
images, docks, clean-up [skip ci]
Diffstat (limited to 'keyboards/lets_split/uno_slave/uno-matrix.h')
-rw-r--r-- | keyboards/lets_split/uno_slave/uno-matrix.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/lets_split/uno_slave/uno-matrix.h b/keyboards/lets_split/uno_slave/uno-matrix.h new file mode 100644 index 0000000000..c0f636f805 --- /dev/null +++ b/keyboards/lets_split/uno_slave/uno-matrix.h @@ -0,0 +1,19 @@ +#ifndef UNO_MATRIX +#define UNO_MATRIX + +#define MATRIX_ROWS 4 +#define MATRIX_COLS 6 + +#include <stdbool.h> + +typedef uint8_t matrix_row_t; + +uint8_t matrix_rows(void); +uint8_t matrix_cols(void); +void matrix_init(void); +uint8_t matrix_scan(void); +bool matrix_is_modified(void); +bool matrix_is_on(uint8_t row, uint8_t col); +matrix_row_t matrix_get_row(uint8_t row); + +#endif |