zmk_mf68/app/include/zmk/usb_hid.h
Pete Johanson 307a8d09db feat(usb): Function to access latest USB status.
* To be leveraged by upcoming power
  management work.
2020-10-01 17:18:01 -04:00

19 lines
335 B
C

/*
* 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>
int zmk_usb_hid_init();
enum usb_dc_status_code zmk_usb_hid_get_status();
int zmk_usb_hid_send_report(u8_t *report, size_t len);