2020-09-10 13:57:44 +10:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
2020-05-13 04:15:33 +10:00
|
|
|
#pragma once
|
|
|
|
|
2020-05-18 23:11:46 +10:00
|
|
|
#include <zmk/keys.h>
|
2020-06-03 01:23:22 +10:00
|
|
|
#include <zmk/hid.h>
|
2020-05-13 04:15:33 +10:00
|
|
|
|
2020-10-25 08:28:58 +11:00
|
|
|
enum zmk_endpoint {
|
|
|
|
ZMK_ENDPOINT_USB,
|
|
|
|
ZMK_ENDPOINT_BLE,
|
|
|
|
};
|
|
|
|
|
|
|
|
int zmk_endpoints_select(enum zmk_endpoint endpoint);
|
|
|
|
int zmk_endpoints_toggle();
|
|
|
|
|
2020-06-23 01:06:01 +10:00
|
|
|
int zmk_endpoints_send_report(u8_t usage_report);
|