summaryrefslogtreecommitdiffstats
path: root/layer.h
blob: 31390955c4047a2f67e21b77dae138a3bc92a738 (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>

extern uint8_t default_layer;
extern 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