Peter Johanson
3 years ago
committed by
Pete Johanson
6 changed files with 46 additions and 7 deletions
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright (c) 2021 The ZMK Contributors |
||||
* |
||||
* SPDX-License-Identifier: MIT |
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
enum zmk_endpoint { |
||||
ZMK_ENDPOINT_USB, |
||||
ZMK_ENDPOINT_BLE, |
||||
}; |
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) 2021 The ZMK Contributors |
||||
* |
||||
* SPDX-License-Identifier: MIT |
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
#include <zephyr.h> |
||||
|
||||
#include <zmk/endpoints_types.h> |
||||
#include <zmk/event_manager.h> |
||||
|
||||
struct zmk_endpoint_selection_changed { |
||||
enum zmk_endpoint endpoint; |
||||
}; |
||||
|
||||
ZMK_EVENT_DECLARE(zmk_endpoint_selection_changed); |
Loading…
Reference in new issue