rewrite code of layer switching

This commit is contained in:
tmk 2011-01-23 04:19:17 +09:00
parent bf1a37ba71
commit a28a2a6a5e
2 changed files with 103 additions and 71 deletions

View file

@ -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);