summaryrefslogtreecommitdiff
path: root/app/include/zmk/hid.h
diff options
context:
space:
mode:
authorOkke Formsma <okke@formsma.nl>2020-09-02 22:30:09 +0200
committerPete Johanson <peter@peterjohanson.com>2020-11-03 00:19:37 -0500
commit4f258efbf1602e212a808cc10915050a1b46e140 (patch)
treeed7601514e31895139ab91314610b2d570b1d326 /app/include/zmk/hid.h
parenta9e729b427800fab230fc1fcdacd3cbdb6bedc19 (diff)
initial implementation for modifiers
https://github.com/zmkfirmware/zmk/issues/86
Diffstat (limited to 'app/include/zmk/hid.h')
-rw-r--r--app/include/zmk/hid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h
index fd09a6f..2426c2d 100644
--- a/app/include/zmk/hid.h
+++ b/app/include/zmk/hid.h
@@ -164,8 +164,8 @@ struct zmk_hid_consumer_report {
int zmk_hid_register_mod(zmk_mod modifier);
int zmk_hid_unregister_mod(zmk_mod modifier);
-int zmk_hid_register_mods(zmk_mod_flags modifiers);
-int zmk_hid_unregister_mods(zmk_mod_flags modifiers);
+int zmk_hid_implicit_modifiers_press(zmk_mod_flags implicit_modifiers);
+int zmk_hid_implicit_modifiers_release();
int zmk_hid_keypad_press(zmk_key key);
int zmk_hid_keypad_release(zmk_key key);
void zmk_hid_keypad_clear();