diff options
author | Boram Bae <boram21.bae@samsung.com> | 2021-02-17 15:55:54 +0900 |
---|---|---|
committer | Boram Bae <boram21.bae@samsung.com> | 2021-02-17 15:59:18 +0900 |
commit | 508300ebcd3dc462a42af5ac43671f8f0b56fe3b (patch) | |
tree | 5e18587953727effe35f790de23f20b71bb380c9 | |
parent | 1d6e19a847fb178a263de4a0ef4955afa13e13c5 (diff) | |
download | sensor-508300ebcd3dc462a42af5ac43671f8f0b56fe3b.tar.gz sensor-508300ebcd3dc462a42af5ac43671f8f0b56fe3b.tar.bz2 sensor-508300ebcd3dc462a42af5ac43671f8f0b56fe3b.zip |
Add more sensor typessubmit/tizen/20210217.062004accepted/tizen/unified/20210218.042212
* Change type from sensor_device_type to int
Change-Id: I941b0d97ee96b80dede3dede362cf829fca957b6
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
-rw-r--r-- | include/hal-sensor-types.h | 7 |
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; |