From 13f5294aa3b8b179255fee1d49111896d5510800 Mon Sep 17 00:00:00 2001 From: Harone <53187465+Haronee@users.noreply.github.com> Date: Wed, 20 Apr 2022 13:22:45 +0200 Subject: [PATCH] Update NpadController.cs (#3284) --- Ryujinx.Input/HLE/NpadController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Input/HLE/NpadController.cs b/Ryujinx.Input/HLE/NpadController.cs index eb9989b03f..1e0789b776 100644 --- a/Ryujinx.Input/HLE/NpadController.cs +++ b/Ryujinx.Input/HLE/NpadController.cs @@ -302,7 +302,7 @@ namespace Ryujinx.Input.HLE Vector3 gyroscope = _gamepad.GetMotionData(MotionInputId.Gyroscope); accelerometer = new Vector3(accelerometer.X, -accelerometer.Z, accelerometer.Y); - gyroscope = new Vector3(gyroscope.X, gyroscope.Z, gyroscope.Y); + gyroscope = new Vector3(gyroscope.X, -gyroscope.Z, gyroscope.Y); _leftMotionInput.Update(accelerometer, gyroscope, (ulong)PerformanceCounter.ElapsedNanoseconds / 1000, controllerConfig.Motion.Sensitivity, (float)controllerConfig.Motion.GyroDeadzone);