aboutsummaryrefslogtreecommitdiff
path: root/common/keymap.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/keymap.h')
-rw-r--r--common/keymap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/keymap.h b/common/keymap.h
index f992be18e..f54fea90d 100644
--- a/common/keymap.h
+++ b/common/keymap.h
@@ -22,6 +22,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22#include <stdbool.h> 22#include <stdbool.h>
23#include "action.h" 23#include "action.h"
24 24
25
26/* layer used currently */
27extern uint8_t current_layer;
28/* layer to return or start with */
29extern uint8_t default_layer;
30
25/* 31/*
26 * legacy keymap interface: keycode 32 * legacy keymap interface: keycode
27 */ 33 */