summaryrefslogtreecommitdiff
path: root/macway/keymap.h
blob: b428b47a86ba2aceb79f4cf33d43480bff78e319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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