From: Boram Bae Date: Wed, 17 Feb 2021 06:55:54 +0000 (+0900) Subject: Add more sensor types X-Git-Tag: submit/tizen/20210217.062004^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=508300ebcd3dc462a42af5ac43671f8f0b56fe3b;p=platform%2Fhal%2Fapi%2Fsensor.git Add more sensor types * Change type from sensor_device_type to int Change-Id: I941b0d97ee96b80dede3dede362cf829fca957b6 Signed-off-by: Boram Bae --- 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;