2020-09-10 13:57:44 +10:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-05-06 06:09:05 +10:00
|
|
|
|
|
|
|
#include <usb/usb_device.h>
|
|
|
|
#include <usb/class/usb_hid.h>
|
|
|
|
|
2020-05-18 23:11:46 +10:00
|
|
|
#include <zmk/keys.h>
|
|
|
|
#include <zmk/hid.h>
|
2020-05-13 04:15:33 +10:00
|
|
|
|
2020-10-05 09:18:44 +11:00
|
|
|
enum usb_dc_status_code zmk_usb_get_status();
|
2020-10-02 07:18:01 +10:00
|
|
|
|
2020-10-05 09:18:44 +11:00
|
|
|
#ifdef CONFIG_ZMK_USB
|
2020-06-03 01:23:22 +10:00
|
|
|
int zmk_usb_hid_send_report(u8_t *report, size_t len);
|
2020-10-05 09:18:44 +11:00
|
|
|
#endif /* CONFIG_ZMK_USB */
|