2020-12-01 16:52:32 +11:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <zephyr.h>
|
2020-12-23 02:56:00 +11:00
|
|
|
#include <zmk/event_manager.h>
|
2020-12-01 16:52:32 +11:00
|
|
|
#include <zmk/activity.h>
|
|
|
|
|
2021-01-18 16:35:56 +11:00
|
|
|
struct zmk_activity_state_changed {
|
2020-12-01 16:52:32 +11:00
|
|
|
enum zmk_activity_state state;
|
|
|
|
};
|
|
|
|
|
2021-01-18 16:35:56 +11:00
|
|
|
ZMK_EVENT_DECLARE(zmk_activity_state_changed);
|