diff options
author | Mai M <mathew1800@gmail.com> | 2022-01-17 13:42:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 13:42:57 -0500 |
commit | 345bcd4cdffb495429ec8056c41029eacbcf6289 (patch) | |
tree | a787a0905af9db563bf6a05f3883bef4542d85b5 | |
parent | ca2d90477067b43475cd4176bed04c88a3e9bb64 (diff) | |
parent | c624edceba98db4fde8ba3bb30c2f3fd19e8823f (diff) |
Merge pull request #7727 from v1993/patch-3
hid: Correct assignment source for rotations
-rw-r--r-- | src/core/hid/emulated_console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp index 08f8af551f..eef0ff4937 100644 --- a/src/core/hid/emulated_console.cpp +++ b/src/core/hid/emulated_console.cpp @@ -158,7 +158,7 @@ void EmulatedConsole::SetMotion(const Common::Input::CallbackStatus& callback) { auto& motion = console.motion_state; motion.accel = emulated.GetAcceleration(); motion.gyro = emulated.GetGyroscope(); - motion.rotation = emulated.GetGyroscope(); + motion.rotation = emulated.GetRotations(); motion.orientation = emulated.GetOrientation(); motion.quaternion = emulated.GetQuaternion(); motion.gyro_bias = emulated.GetGyroBias(); |