diff options
author | Nick Winans <nick.win999@gmail.com> | 2020-10-23 00:55:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-23 00:55:50 -0500 |
commit | 70ffcca3b42f5dacf5be155a56b11387a7e68b63 (patch) | |
tree | 80954a5afb17978ad897e3dde0385cfee0a902c9 /app/include/zmk/usb.h | |
parent | 162c6b77db27c158b05ed65effa8d8ded68ba9b7 (diff) | |
parent | 04b7a759f4c676c96da261a724cef1517614dea1 (diff) |
Merge branch 'main' into bluetooth/battery-reporting
Diffstat (limited to 'app/include/zmk/usb.h')
-rw-r--r-- | app/include/zmk/usb.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/include/zmk/usb.h b/app/include/zmk/usb.h new file mode 100644 index 0000000..452fd54 --- /dev/null +++ b/app/include/zmk/usb.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2020 The ZMK Contributors + * + * SPDX-License-Identifier: MIT + */ + +#pragma once + +#include <usb/usb_device.h> +#include <usb/class/usb_hid.h> + +#include <zmk/keys.h> +#include <zmk/hid.h> + +enum usb_dc_status_code zmk_usb_get_status(); + +#ifdef CONFIG_ZMK_USB +int zmk_usb_hid_send_report(u8_t *report, size_t len); +#endif /* CONFIG_ZMK_USB */
\ No newline at end of file |