Update sensor_event.h
This commit is contained in:
parent
f0991c174f
commit
566abd8f3c
1 changed files with 1 additions and 2 deletions
|
@ -6,13 +6,12 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <drivers/sensor.h>
|
|
||||||
#include <zephyr.h>
|
#include <zephyr.h>
|
||||||
#include <zmk/event_manager.h>
|
#include <zmk/event_manager.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
struct zmk_sensor_event {
|
struct zmk_sensor_event {
|
||||||
uint8_t sensor_number;
|
uint8_t sensor_number;
|
||||||
struct sensor_value value;
|
const struct device *sensor;
|
||||||
int64_t timestamp;
|
int64_t timestamp;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue