diff options
Diffstat (limited to 'app/include/zmk/events/position-state-changed.h')
-rw-r--r-- | app/include/zmk/events/position-state-changed.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/include/zmk/events/position-state-changed.h b/app/include/zmk/events/position-state-changed.h new file mode 100644 index 0000000..190b59d --- /dev/null +++ b/app/include/zmk/events/position-state-changed.h @@ -0,0 +1,12 @@ +#pragma once + +#include <zephyr.h> +#include <zmk/event-manager.h> + +struct position_state_changed { + struct zmk_event_header header; + u32_t position; + bool state; +}; + +ZMK_EVENT_DECLARE(position_state_changed);
\ No newline at end of file |