This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2010-10-29 06:17:18 +00:00
|
|
|
#ifndef LAYER_H
|
|
|
|
#define LAYER_H 1
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2011-02-10 06:51:30 +00:00
|
|
|
extern uint8_t default_layer;
|
|
|
|
extern uint8_t current_layer;
|
2010-10-29 06:17:18 +00:00
|
|
|
|
|
|
|
/* 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
|