diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-29 19:40:29 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2021-12-13 06:26:04 +0100 |
commit | 316f80af87c3290ad3ceda99fe9cf02f1d935b0c (patch) | |
tree | 6b933d2399f02ff42c077d0f2f342b9ffbb21cf5 /src/core/hid/emulated_console.cpp | |
parent | Merge pull request #7488 from vonchenplus/support_multiple_videos_playing (diff) | |
download | yuzu-316f80af87c3290ad3ceda99fe9cf02f1d935b0c.tar yuzu-316f80af87c3290ad3ceda99fe9cf02f1d935b0c.tar.gz yuzu-316f80af87c3290ad3ceda99fe9cf02f1d935b0c.tar.bz2 yuzu-316f80af87c3290ad3ceda99fe9cf02f1d935b0c.tar.lz yuzu-316f80af87c3290ad3ceda99fe9cf02f1d935b0c.tar.xz yuzu-316f80af87c3290ad3ceda99fe9cf02f1d935b0c.tar.zst yuzu-316f80af87c3290ad3ceda99fe9cf02f1d935b0c.zip |
Diffstat (limited to 'src/core/hid/emulated_console.cpp')
-rw-r--r-- | src/core/hid/emulated_console.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp index 80db8e9c6..6744c6846 100644 --- a/src/core/hid/emulated_console.cpp +++ b/src/core/hid/emulated_console.cpp @@ -157,7 +157,10 @@ void EmulatedConsole::SetMotion(Common::Input::CallbackStatus callback) { motion.rotation = emulated.GetGyroscope(); motion.orientation = emulated.GetOrientation(); motion.quaternion = emulated.GetQuaternion(); + motion.gyro_bias = emulated.GetGyroBias(); motion.is_at_rest = !emulated.IsMoving(motion_sensitivity); + // Find what is this value + motion.verticalization_error = 0.0f; TriggerOnChange(ConsoleTriggerType::Motion); } |