summaryrefslogtreecommitdiff
path: root/layer.h
blob: 8d6f761465144821659c48a0708849b04c66fd56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef LAYER_H
#define LAYER_H 1

#include <stdint.h>

uint8_t default_layer;
uint8_t current_layer;

/* return keycode for switch */
uint8_t layer_get_keycode(uint8_t row, uint8_t col);

/* process layer switching */
void layer_switching(uint8_t fn_bits);

#endif