summaryrefslogtreecommitdiff
path: root/common/keymap.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-01-28 14:06:42 +0900
committertmk <nobody@nowhere>2013-01-28 14:06:42 +0900
commit1e3e41a2c9ed8b2f7d44be0aed5d96ed557fa13d (patch)
tree4846c3d3f8144b3796322ac669d13837f4e09f17 /common/keymap.h
parent854c803fdda30d7f7905c18d777ea85cac9b74d9 (diff)
downloadqmk_firmware-1e3e41a2c9ed8b2f7d44be0aed5d96ed557fa13d.tar.gz
qmk_firmware-1e3e41a2c9ed8b2f7d44be0aed5d96ed557fa13d.zip
Clean code.
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 f992be18e8..f54fea90d2 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
*/