summaryrefslogtreecommitdiff
path: root/app/include/zmk/endpoints.h
blob: aad688e70a3d25f7288d059d45cd5b3dd23952f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2020 The ZMK Contributors
 *
 * SPDX-License-Identifier: MIT
 */

#pragma once

#include <zmk/keys.h>
#include <zmk/hid.h>

enum zmk_endpoint {
    ZMK_ENDPOINT_USB,
    ZMK_ENDPOINT_BLE,
};

int zmk_endpoints_select(enum zmk_endpoint endpoint);
int zmk_endpoints_toggle();

int zmk_endpoints_send_report(u8_t usage_report);