From c5c9d05011c5cc2d62cbc13ec3b8b0c9cd3655c5 Mon Sep 17 00:00:00 2001 From: cff-gite Date: Fri, 30 Aug 2024 16:46:48 +0800 Subject: [PATCH] Add capi sensorType Signed-off-by: cff-gite Change-Id: I99957aad6d2500d55428b61eefc9c3c630460c9a --- sensors/sensor/oh_sensor_type.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sensors/sensor/oh_sensor_type.h b/sensors/sensor/oh_sensor_type.h index 6f2cc925a..b94496d3e 100644 --- a/sensors/sensor/oh_sensor_type.h +++ b/sensors/sensor/oh_sensor_type.h @@ -91,11 +91,21 @@ typedef enum Sensor_Type { * @since 11 */ SENSOR_TYPE_GRAVITY = 257, + /** + * Linear acceleration sensor. + * @since 11 + */ + SENSOR_TYPE_LINEAR_ACCELERATION = 258, /** * Rotation vector sensor. * @since 11 */ SENSOR_TYPE_ROTATION_VECTOR = 259, + /** + * Game rotation vector sensor. + * @since 11 + */ + SENSOR_TYPE_GAME_ROTATION_VECTOR = 262, /** * Pedometer detection sensor. * @since 11 -- Gitee