Fix axis values for gyro input

This commit is contained in:
Cameron Gutman 2023-09-27 03:42:05 -05:00
parent 3fb328e238
commit f883f5a2b5

View File

@ -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);
}];
});
}