summaryrefslogtreecommitdiff
path: root/app/include/zmk/usb_hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/include/zmk/usb_hid.h')
-rw-r--r--app/include/zmk/usb_hid.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/include/zmk/usb_hid.h b/app/include/zmk/usb_hid.h
new file mode 100644
index 0000000..5d7c744
--- /dev/null
+++ b/app/include/zmk/usb_hid.h
@@ -0,0 +1,14 @@
+#ifndef ZMK_USB_HID
+#define ZMK_USB_HID
+
+#include <usb/usb_device.h>
+#include <usb/class/usb_hid.h>
+
+#include <zmk/keys.h>
+#include <zmk/hid.h>
+
+int zmk_usb_hid_init();
+
+int zmk_usb_hid_send_report(u8_t *report, size_t len);
+
+#endif