summaryrefslogtreecommitdiff
path: root/include/zmk/hid.h
diff options
context:
space:
mode:
authorPeter <peter@peterjohanson.com>2020-05-25 03:19:21 +0000
committerPeter <peter@peterjohanson.com>2020-05-25 03:19:21 +0000
commit96b87b2594d590b9eed009803218f773716fd2ac (patch)
tree6845d7cd69f18284ee47dc415930850ffffc6fd4 /include/zmk/hid.h
parented5532bf94e93d25e35498cfd7a9040b0c69597b (diff)
parent76a433fc392be31e56df256b630a21e61775d0af (diff)
Merge branch 'actions/mod-tap-initial-work' into 'master'
Actions: Mod-Tap initial work See merge request zmkproject/zmk!1
Diffstat (limited to 'include/zmk/hid.h')
-rw-r--r--include/zmk/hid.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/zmk/hid.h b/include/zmk/hid.h
index 8fbcf4f..3767b78 100644
--- a/include/zmk/hid.h
+++ b/include/zmk/hid.h
@@ -97,12 +97,14 @@ static const u8_t zmk_hid_report_desc[] = {
struct zmk_hid_report
{
- u8_t modifiers;
+ zmk_mod_flags modifiers;
u8_t keys[13];
} __packed;
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_press_key(zmk_key key);
int zmk_hid_release_key(zmk_key key);