2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #7727 from v1993/patch-3

hid: Correct assignment source for rotations
This commit is contained in:
Mai M 2022-01-17 13:42:57 -05:00 committed by GitHub
commit 345bcd4cdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,7 +158,7 @@ void EmulatedConsole::SetMotion(const Common::Input::CallbackStatus& callback) {
auto& motion = console.motion_state; auto& motion = console.motion_state;
motion.accel = emulated.GetAcceleration(); motion.accel = emulated.GetAcceleration();
motion.gyro = emulated.GetGyroscope(); motion.gyro = emulated.GetGyroscope();
motion.rotation = emulated.GetGyroscope(); motion.rotation = emulated.GetRotations();
motion.orientation = emulated.GetOrientation(); motion.orientation = emulated.GetOrientation();
motion.quaternion = emulated.GetQuaternion(); motion.quaternion = emulated.GetQuaternion();
motion.gyro_bias = emulated.GetGyroBias(); motion.gyro_bias = emulated.GetGyroBias();