diff options
Diffstat (limited to '')
| -rw-r--r-- | src/common/input.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/input.h b/src/common/input.h index 12acd8785..8f29026a1 100644 --- a/src/common/input.h +++ b/src/common/input.h | |||
| @@ -110,9 +110,14 @@ struct MotionSensor { | |||
| 110 | }; | 110 | }; |
| 111 | 111 | ||
| 112 | struct MotionStatus { | 112 | struct MotionStatus { |
| 113 | // Gyroscope vector measurement in radians/s. | ||
| 113 | MotionSensor gyro{}; | 114 | MotionSensor gyro{}; |
| 115 | // Acceleration vector measurement in G force | ||
| 114 | MotionSensor accel{}; | 116 | MotionSensor accel{}; |
| 117 | // Time since last measurement in microseconds | ||
| 115 | u64 delta_timestamp{}; | 118 | u64 delta_timestamp{}; |
| 119 | // Request to update after reading the value | ||
| 120 | bool force_update{}; | ||
| 116 | }; | 121 | }; |
| 117 | 122 | ||
| 118 | struct TouchStatus { | 123 | struct TouchStatus { |