feat(endpoints): Add endpoint select changed event.

This commit is contained in:
Peter Johanson
2021-08-02 21:44:01 -04:00
committed by Pete Johanson
parent 9d34cf561e
commit d05d7ec2d2
6 changed files with 46 additions and 7 deletions

View File

@@ -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);