Merge 2264090a105675368a8675143e888da7794e81f9 on remote branch
Change-Id: I6af9afb0e830c415e526424e76f7f651765eb876
diff --git a/OWNERS b/OWNERS
index b6b18da..53e5f73 100644
--- a/OWNERS
+++ b/OWNERS
@@ -5,3 +5,4 @@
smoreland@google.com
swillden@google.com
per-file include/hardware/camera*=etalvala@google.com
+per-file include/hardware/sensors*=bduddie@google.com
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h
index cef5dd6..5686516 100644
--- a/include/hardware/sensors.h
+++ b/include/hardware/sensors.h
@@ -292,6 +292,16 @@
};
} additional_info_event_t;
+typedef struct {
+ float rx;
+ float ry;
+ float rz;
+ float vx;
+ float vy;
+ float vz;
+ int32_t discontinuity_count;
+} head_tracker_event_t;
+
/**
* Union of the various types of sensor data
* that can be returned.
@@ -369,6 +379,9 @@
* SENSOR_TYPE_ADDITIONAL_INFO for details.
*/
additional_info_event_t additional_info;
+
+ /* vector describing head orientation (added for legacy code support only) */
+ head_tracker_event_t head_tracker;
};
union {