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