mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
16 lines
280 B
C
16 lines
280 B
C
#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
|