diff options
Diffstat (limited to 'macway/keymap.h')
-rw-r--r-- | macway/keymap.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/macway/keymap.h b/macway/keymap.h new file mode 100644 index 0000000000..b428b47a86 --- /dev/null +++ b/macway/keymap.h @@ -0,0 +1,20 @@ +#ifndef KEYMAP_H +#define KEYMAP_H 1 + +#include <stdint.h> +#include <stdbool.h> +#include "usb_keycodes.h" + + +#define MATRIX_ROWS 9 +#define MATRIX_COLS 8 + + +extern int current_layer; +extern bool key_sent; + + +int get_layer(void); +uint8_t get_keycode(int layer, int row, int col); + +#endif |