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

#pragma once

#include <zephyr.h>
#include <zmk/keys.h>
#include <zmk/event_manager.h>

struct zmk_modifiers_state_changed {
    zmk_mod_flags_t modifiers;
    bool state;
};

ZMK_EVENT_DECLARE(zmk_modifiers_state_changed);