summaryrefslogtreecommitdiff
path: root/include/zmk/usb_hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zmk/usb_hid.h')
-rw-r--r--include/zmk/usb_hid.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/zmk/usb_hid.h b/include/zmk/usb_hid.h
new file mode 100644
index 0000000..893e7e4
--- /dev/null
+++ b/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(const struct zmk_hid_report *report);
+
+#endif