summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/hal-sensor-types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/hal-sensor-types.h b/include/hal-sensor-types.h
index c805fc5..fcba0cd 100644
--- a/include/hal-sensor-types.h
+++ b/include/hal-sensor-types.h
@@ -87,6 +87,11 @@ typedef enum {
SENSOR_DEVICE_EXERCISE_STEPPER,
SENSOR_DEVICE_DATA_JOURNAL = 0x500,
+ SENSOR_DEVICE_MOTION_SENSOR,
+ SENSOR_DEVICE_FAKE,
+ SENSOR_DEVICE_TAP_SENSOR,
+ SENSOR_DEVICE_COLOR_SENSOR,
+ SENSOR_DEVICE_WIFI_MOTION_DETECTOR,
SENSOR_DEVICE_FUSION = 0x900,
SENSOR_DEVICE_AUTO_ROTATION,
@@ -158,7 +163,7 @@ typedef enum {
typedef struct sensor_info_t {
uint32_t id;
const char *name;
- sensor_device_type type;
+ int type; // sensor_device_type
unsigned int event_type; // for Internal API
const char *model_name;
const char *vendor;