diff --git a/app/include/zmk/events/sensor_event.h b/app/include/zmk/events/sensor_event.h index f579bc39..53445fea 100644 --- a/app/include/zmk/events/sensor_event.h +++ b/app/include/zmk/events/sensor_event.h @@ -6,13 +6,14 @@ #pragma once +#include #include #include #include struct zmk_sensor_event { uint8_t sensor_number; - const struct device *sensor; + struct sensor_value value; int64_t timestamp; }; -ZMK_EVENT_DECLARE(zmk_sensor_event); \ No newline at end of file +ZMK_EVENT_DECLARE(zmk_sensor_event);