summaryrefslogtreecommitdiffstats
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/>.
#include <stdbool.h>
#include "action.h"
+
+/* layer used currently */
+extern uint8_t current_layer;
+/* layer to return or start with */
+extern uint8_t default_layer;
+
/*
* legacy keymap interface: keycode
*/