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
This commit is contained in:
Travis Nickles 2017-11-25 03:13:22 -06:00
parent faa3a92378
commit 64b00804ce

View File

@ -161,7 +161,7 @@ namespace DS4Windows
public static int mouseaccel = 0; public static int mouseaccel = 0;
public static int prevmouseaccel = 0; public static int prevmouseaccel = 0;
private static double horizontalRemainder = 0.0, verticalRemainder = 0.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; private const double MOUSESTICKOFFSET = 0.032;
public static void Commit(int device) public static void Commit(int device)
@ -2469,7 +2469,7 @@ namespace DS4Windows
deadzoneR = 0; deadzoneR = 0;
double value = 0.0; double value = 0.0;
int speed = ButtonMouseSensitivity[device] + 15; int speed = ButtonMouseSensitivity[device];
double root = 1.002; double root = 1.002;
double divide = 10000d; double divide = 10000d;
//DateTime now = mousenow[mnum]; //DateTime now = mousenow[mnum];