diff options
Diffstat (limited to 'app/include/zmk/events/wpm_state_changed.h')
-rw-r--r-- | app/include/zmk/events/wpm_state_changed.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/include/zmk/events/wpm_state_changed.h b/app/include/zmk/events/wpm_state_changed.h new file mode 100644 index 0000000..3d1a369 --- /dev/null +++ b/app/include/zmk/events/wpm_state_changed.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2020 The ZMK Contributors + * + * SPDX-License-Identifier: MIT + */ + +#pragma once + +#include <zephyr.h> +#include <zmk/event_manager.h> +#include <zmk/wpm.h> + +struct zmk_wpm_state_changed { + int state; +}; + +ZMK_EVENT_DECLARE(zmk_wpm_state_changed); |