summaryrefslogtreecommitdiff
path: root/app/include/zmk/hid.h
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-10-31 00:09:47 -0400
committerGitHub <noreply@github.com>2020-10-31 00:09:47 -0400
commit2d31e1d05f737ebf8df2c5261912fe79b56a63c3 (patch)
tree2f32805fffdb24b5806cdf37af762fee221e27c5 /app/include/zmk/hid.h
parent3c958e62079059c375b86e29f66137a74c3b36c8 (diff)
parent821f0540711158985eb38b360b1f1b422408ca31 (diff)
Merge pull request #269 from joelspadin/endpoint-selection
feat: only send HID reports to one endpoint
Diffstat (limited to 'app/include/zmk/hid.h')
-rw-r--r--app/include/zmk/hid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h
index 1ce5cc9..fd09a6f 100644
--- a/app/include/zmk/hid.h
+++ b/app/include/zmk/hid.h
@@ -168,9 +168,11 @@ int zmk_hid_register_mods(zmk_mod_flags modifiers);
int zmk_hid_unregister_mods(zmk_mod_flags modifiers);
int zmk_hid_keypad_press(zmk_key key);
int zmk_hid_keypad_release(zmk_key key);
+void zmk_hid_keypad_clear();
int zmk_hid_consumer_press(zmk_key key);
int zmk_hid_consumer_release(zmk_key key);
+void zmk_hid_consumer_clear();
struct zmk_hid_keypad_report *zmk_hid_get_keypad_report();
struct zmk_hid_consumer_report *zmk_hid_get_consumer_report();