summaryrefslogtreecommitdiff
path: root/include/zmk/hid.h
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-05-18 23:34:36 -0400
committerPete Johanson <peter@peterjohanson.com>2020-05-18 23:34:36 -0400
commit585e062e87dbb227e73e2cb31d5041ff5520fb4d (patch)
tree37563658ffe61df3a76ff61cf9345e5bcd92017a /include/zmk/hid.h
parent5e34e7fec961493e67edaa5784473b375a8d40d2 (diff)
Initial basic modifiers support.
Diffstat (limited to 'include/zmk/hid.h')
-rw-r--r--include/zmk/hid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zmk/hid.h b/include/zmk/hid.h
index 9f0760a..8fbcf4f 100644
--- a/include/zmk/hid.h
+++ b/include/zmk/hid.h
@@ -101,6 +101,8 @@ struct zmk_hid_report
u8_t keys[13];
} __packed;
+int zmk_hid_register_mod(zmk_mod modifier);
+int zmk_hid_unregister_mod(zmk_mod modifier);
int zmk_hid_press_key(zmk_key key);
int zmk_hid_release_key(zmk_key key);