diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-01 19:49:14 -0600 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-24 20:30:27 -0600 |
commit | 136eb9c4c2b2425c2dd45a79cf444dee7170714d (patch) | |
tree | 74a055a08126fdd33b2071baa08125177847db6e /src/common/input.h | |
parent | 77fa4d4bf60526826ef8b53ee3870f7d2a761976 (diff) |
core/hid: Fully emulate motion from button
Diffstat (limited to 'src/common/input.h')
-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 12acd8785f..8f29026a11 100644 --- a/src/common/input.h +++ b/src/common/input.h @@ -110,9 +110,14 @@ struct MotionSensor { }; struct MotionStatus { + // Gyroscope vector measurement in radians/s. MotionSensor gyro{}; + // Acceleration vector measurement in G force MotionSensor accel{}; + // Time since last measurement in microseconds u64 delta_timestamp{}; + // Request to update after reading the value + bool force_update{}; }; struct TouchStatus { |