aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarone <53187465+Haronee@users.noreply.github.com>2022-04-20 13:22:45 +0200
committerGitHub <noreply@github.com>2022-04-20 13:22:45 +0200
commit13f5294aa3b8b179255fee1d49111896d5510800 (patch)
treeaa720af298d2a6e299fd9202923c07482f73db7e
parent9444b4a647d86fbae3fb06993244613a7b15064e (diff)
Update NpadController.cs (#3284)1.1.105
-rw-r--r--Ryujinx.Input/HLE/NpadController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Input/HLE/NpadController.cs b/Ryujinx.Input/HLE/NpadController.cs
index eb9989b0..1e0789b7 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);