diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-12-29 00:19:25 -0500 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-01-04 13:02:38 -0500 |
commit | a55b1397c9558cead989dfc5920b162f7c8b4c8b (patch) | |
tree | 1bb0fa6086ea8e8f76d330549c9028bac3850268 /app/include/zmk/keymap.h | |
parent | 74b397ab9136ba23b96e1fd8120bd7e32a1944af (diff) |
feat(keymap): API for retrieving label for a layer
Diffstat (limited to 'app/include/zmk/keymap.h')
-rw-r--r-- | app/include/zmk/keymap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/include/zmk/keymap.h b/app/include/zmk/keymap.h index 9192772..4bcdc2b 100644 --- a/app/include/zmk/keymap.h +++ b/app/include/zmk/keymap.h @@ -16,5 +16,6 @@ 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); +const char *zmk_keymap_layer_label(uint8_t layer); int zmk_keymap_position_state_changed(uint32_t position, bool pressed, int64_t timestamp); |