From 9d88fda0d208ee087171ebf9bd207db0aad93606 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Mon, 24 Jul 2017 22:55:28 -0500 Subject: [PATCH] Tweak gyro mouse --- DS4Windows/DS4Control/MouseCursor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DS4Windows/DS4Control/MouseCursor.cs b/DS4Windows/DS4Control/MouseCursor.cs index 60835e8..c049895 100644 --- a/DS4Windows/DS4Control/MouseCursor.cs +++ b/DS4Windows/DS4Control/MouseCursor.cs @@ -22,7 +22,7 @@ namespace DS4Windows private double GYRO_MOUSE_COEFFICIENT = 0.0095; private int GYRO_MOUSE_DEADZONE = 12; private double GYRO_MOUSE_OFFSET = 0.1463; - private double GYRO_SMOOTH_MOUSE_OFFSET = 0.14696; + private double GYRO_SMOOTH_MOUSE_OFFSET = 0.14698; private const int SMOOTH_BUFFER_LEN = 3; private double[] xSmoothBuffer = new double[SMOOTH_BUFFER_LEN]; @@ -42,7 +42,7 @@ namespace DS4Windows deltaX = Global.getGyroMouseHorizontalAxis(deviceNumber) == 0 ? arg.sixAxis.gyroYawFull : arg.sixAxis.gyroRollFull; deltaY = -arg.sixAxis.gyroPitchFull; - tempDouble = arg.sixAxis.elapsed * 0.001 * 250.0; // Base default speed on 4 ms + tempDouble = arg.sixAxis.elapsed * 0.001 * 200.0; // Base default speed on 5 ms gyroSmooth = Global.getGyroSmoothing(deviceNumber); double gyroSmoothWeight = 0.0;