This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2010-10-09 16:50:36 +00:00
|
|
|
#ifndef KEYMAP_H
|
|
|
|
#define KEYMAP_H 1
|
|
|
|
|
|
|
|
#include <stdint.h>
|
2010-10-14 08:36:00 +00:00
|
|
|
#include <stdbool.h>
|
2010-10-09 16:50:36 +00:00
|
|
|
#include "usb_keycodes.h"
|
|
|
|
|
|
|
|
|
|
|
|
#define MATRIX_ROWS 8
|
|
|
|
#define MATRIX_COLS 8
|
|
|
|
|
2010-10-13 13:13:41 +00:00
|
|
|
|
|
|
|
extern int current_layer;
|
|
|
|
extern bool key_sent;
|
|
|
|
|
|
|
|
|
|
|
|
int get_layer(void);
|
|
|
|
uint8_t get_keycode(int layer, int row, int col);
|
|
|
|
|
2010-10-09 16:50:36 +00:00
|
|
|
#endif
|