diff options
| author | bunnei <bunneidev@gmail.com> | 2021-12-21 00:13:54 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-21 00:13:54 -0800 |
| commit | 5e24f7ed3106542838a557dd2cc872e7e338fbb5 (patch) | |
| tree | ac773436f7767a0d5c6c411f0717269cbd19f29a /src/core/hid/emulated_console.h | |
| parent | cf221ca92d82c27bee485a7e597daf98f9697162 (diff) | |
| parent | 316f80af87c3290ad3ceda99fe9cf02f1d935b0c (diff) | |
Merge pull request #7481 from german77/gyro-bias
service/hid: Improve console motion accuracy
Diffstat (limited to 'src/core/hid/emulated_console.h')
| -rw-r--r-- | src/core/hid/emulated_console.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hid/emulated_console.h b/src/core/hid/emulated_console.h index 3afd284d5..707419102 100644 --- a/src/core/hid/emulated_console.h +++ b/src/core/hid/emulated_console.h @@ -50,6 +50,8 @@ struct ConsoleMotion { Common::Vec3f rotation{}; std::array<Common::Vec3f, 3> orientation{}; Common::Quaternion<f32> quaternion{}; + Common::Vec3f gyro_bias{}; + f32 verticalization_error{}; bool is_at_rest{}; }; |
