forked from mirrors/qmk_userspace
rewrite code of layer switching
This commit is contained in:
parent
bf1a37ba71
commit
a28a2a6a5e
2 changed files with 103 additions and 71 deletions
2
layer.h
2
layer.h
|
@ -3,6 +3,8 @@
|
|||
|
||||
#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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue