summaryrefslogtreecommitdiff
path: root/app/include/zmk/events/sensor_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/include/zmk/events/sensor_event.h')
-rw-r--r--app/include/zmk/events/sensor_event.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/include/zmk/events/sensor_event.h b/app/include/zmk/events/sensor_event.h
index 14fb2d3..f579bc3 100644
--- a/app/include/zmk/events/sensor_event.h
+++ b/app/include/zmk/events/sensor_event.h
@@ -9,12 +9,10 @@
#include <zephyr.h>
#include <zmk/event_manager.h>
#include <device.h>
-
-struct sensor_event {
- struct zmk_event_header header;
+struct zmk_sensor_event {
uint8_t sensor_number;
const struct device *sensor;
int64_t timestamp;
};
-ZMK_EVENT_DECLARE(sensor_event); \ No newline at end of file
+ZMK_EVENT_DECLARE(zmk_sensor_event); \ No newline at end of file