From 957f01ee055652b7aed6ba51da4598e60535c22a Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 12 Dec 2018 05:03:18 -0600 Subject: [PATCH] Loosen enhanced precision curve --- DS4Windows/DS4Control/Mapping.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/DS4Windows/DS4Control/Mapping.cs b/DS4Windows/DS4Control/Mapping.cs index 6e15704..b4f7219 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -839,28 +839,28 @@ namespace DS4Windows if (absX <= 0.4) { - outputX = 0.54 * absX; + outputX = 0.545 * absX; } else if (absX <= 0.75) { - outputX = absX - 0.184; + outputX = absX - 0.182; } else if (absX > 0.75) { - outputX = (absX * 1.736) - 0.736; + outputX = (absX * 1.728) - 0.728; } if (absY <= 0.4) { - outputY = 0.54 * absY; + outputY = 0.545 * absY; } else if (absY <= 0.75) { - outputY = absY - 0.184; + outputY = absY - 0.182; } else if (absY > 0.75) { - outputY = (absY * 1.736) - 0.736; + outputY = (absY * 1.728) - 0.728; } dState.RX = (byte)(outputX * signX * 127.5 + 127.5);