summaryrefslogtreecommitdiff
path: root/app/include/zmk/hid.h
diff options
context:
space:
mode:
authorOkke Formsma <okke@formsma.nl>2020-12-26 14:46:56 +0100
committerPete Johanson <peter@peterjohanson.com>2021-01-22 19:27:18 -0500
commit5eeb310b2f0ccf1adf91b448573001559696a1d7 (patch)
treea3a711afe29b2df3dc781a8103ce58b21626433c /app/include/zmk/hid.h
parent58ad5d4e865341e736f4f80e6c3ec31d168fc509 (diff)
feat(grave-escape): implement grave-escape
closes #85
Diffstat (limited to 'app/include/zmk/hid.h')
-rw-r--r--app/include/zmk/hid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h
index 1ec5126..aca3cc4 100644
--- a/app/include/zmk/hid.h
+++ b/app/include/zmk/hid.h
@@ -166,6 +166,7 @@ struct zmk_hid_consumer_report {
struct zmk_hid_consumer_report_body body;
} __packed;
+zmk_mod_flags_t zmk_hid_get_explicit_mods();
int zmk_hid_register_mod(zmk_mod_t modifier);
int zmk_hid_unregister_mod(zmk_mod_t modifier);
int zmk_hid_implicit_modifiers_press(zmk_mod_flags_t implicit_modifiers);