summaryrefslogtreecommitdiff
path: root/app/include
diff options
context:
space:
mode:
authorKemoNine <mcrosson@users.noreply.github.com>2020-12-29 11:57:49 -0500
committerGitHub <noreply@github.com>2020-12-29 11:57:49 -0500
commitd207c3c30f7f2d0648b32d59f481498fe048230c (patch)
tree885efa8c436c58fca8a5c39a952898f36d3da4e4 /app/include
parent43f6d798be70ef247b0717730ec34202cb81e96d (diff)
(feature) Add &to keycode/behavior (#489)
feat(behaviors): Add `&to` behavior to switch to a layer.
Diffstat (limited to 'app/include')
-rw-r--r--app/include/zmk/keymap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/include/zmk/keymap.h b/app/include/zmk/keymap.h
index 1070af7..9192772 100644
--- a/app/include/zmk/keymap.h
+++ b/app/include/zmk/keymap.h
@@ -15,5 +15,6 @@ uint8_t zmk_keymap_highest_layer_active();
int zmk_keymap_layer_activate(uint8_t layer);
int zmk_keymap_layer_deactivate(uint8_t layer);
int zmk_keymap_layer_toggle(uint8_t layer);
+int zmk_keymap_layer_to(uint8_t layer);
int zmk_keymap_position_state_changed(uint32_t position, bool pressed, int64_t timestamp);