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-05-06 06:09:05 +10:00
|
|
|
int zmk_usb_hid_init();
|
|
|
|
|
2020-10-02 07:18:01 +10:00
|
|
|
enum usb_dc_status_code zmk_usb_hid_get_status();
|
|
|
|
|
2020-06-03 01:23:22 +10:00
|
|
|
int zmk_usb_hid_send_report(u8_t *report, size_t len);
|