diff options
author | tmk <nobody@nowhere> | 2013-01-28 14:06:42 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-01-28 14:06:42 +0900 |
commit | 1e3e41a2c9ed8b2f7d44be0aed5d96ed557fa13d (patch) | |
tree | 4846c3d3f8144b3796322ac669d13837f4e09f17 /common/keymap.h | |
parent | 854c803fdda30d7f7905c18d777ea85cac9b74d9 (diff) | |
download | qmk_firmware-1e3e41a2c9ed8b2f7d44be0aed5d96ed557fa13d.tar.gz qmk_firmware-1e3e41a2c9ed8b2f7d44be0aed5d96ed557fa13d.zip |
Clean code.
Diffstat (limited to 'common/keymap.h')
-rw-r--r-- | common/keymap.h | 6 |
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 */ |