From f883f5a2b50830e22a62d9206acc2cc20448178f Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 27 Sep 2023 03:42:05 -0500 Subject: [PATCH] Fix axis values for gyro input --- Limelight/Input/ControllerSupport.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Limelight/Input/ControllerSupport.m b/Limelight/Input/ControllerSupport.m index eb858987..94ab9f0e 100644 --- a/Limelight/Input/ControllerSupport.m +++ b/Limelight/Input/ControllerSupport.m @@ -155,8 +155,8 @@ static const double MOUSE_SPEED_DIVISOR = 1.25; LiSendControllerMotionEvent((uint8_t)controllerNumber, LI_MOTION_TYPE_GYRO, gyroSample.x * 57.2957795f, - gyroSample.y * 57.2957795f, - gyroSample.z * 57.2957795f); + gyroSample.z * 57.2957795f, + gyroSample.y * -57.2957795f); }]; }); }