summaryrefslogtreecommitdiff
path: root/app/include/zmk/usb_hid.h
blob: 7ee26298b9ad658562f33a2a963e1612a4089174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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();

int zmk_usb_hid_send_report(u8_t *report, size_t len);