diff options
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 */ |