From 64b00804ce764e3c5db253e597b32f2270a308c1 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Sat, 25 Nov 2017 03:13:22 -0600 Subject: [PATCH] Change stick mouse speed. Remove old initial speed offset The speed is the same at mouse sensitivity 25 compared to the previous version. However, the new version will be a bit stiffer using other sensitivity values --- DS4Windows/DS4Control/Mapping.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DS4Windows/DS4Control/Mapping.cs b/DS4Windows/DS4Control/Mapping.cs index 2d67fbf..41c6223 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -161,7 +161,7 @@ namespace DS4Windows public static int mouseaccel = 0; public static int prevmouseaccel = 0; private static double horizontalRemainder = 0.0, verticalRemainder = 0.0; - private const int MOUSESPEEDFACTOR = 30; + private const int MOUSESPEEDFACTOR = 48; private const double MOUSESTICKOFFSET = 0.032; public static void Commit(int device) @@ -2469,7 +2469,7 @@ namespace DS4Windows deadzoneR = 0; double value = 0.0; - int speed = ButtonMouseSensitivity[device] + 15; + int speed = ButtonMouseSensitivity[device]; double root = 1.002; double divide = 10000d; //DateTime now = mousenow[mnum];