You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
281 B
21 lines
281 B
14 years ago
|
#ifndef KEYMAP_H
|
||
|
#define KEYMAP_H 1
|
||
|
|
||
|
#include <stdint.h>
|
||
14 years ago
|
#include <stdbool.h>
|
||
14 years ago
|
#include "usb_keycodes.h"
|
||
|
|
||
|
|
||
|
#define MATRIX_ROWS 8
|
||
|
#define MATRIX_COLS 8
|
||
|
|
||
14 years ago
|
|
||
|
extern int current_layer;
|
||
|
extern bool key_sent;
|
||
|
|
||
|
|
||
|
int get_layer(void);
|
||
|
uint8_t get_keycode(int layer, int row, int col);
|
||
|
|
||
14 years ago
|
#endif
|