From 600818a3c0b6bb5c1b0b2ea26ce2d2957c0597f1 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Sun, 17 Jun 2018 19:52:36 -0500 Subject: [PATCH] Changed enhanced precision curves --- 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 bb452cc..2c6c94d 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -779,28 +779,28 @@ namespace DS4Windows if (absX <= 0.4) { - outputX = 0.414 * absX; + outputX = 0.43 * absX; } else if (absX <= 0.75) { - outputX = absX - 0.2344; + outputX = absX - 0.228; } else if (absX > 0.75) { - outputX = (absX * 1.9376) - 0.9376; + outputX = (absX * 1.912) - 0.912; } if (absY <= 0.4) { - outputY = 0.414 * absY; + outputY = 0.43 * absY; } else if (absY <= 0.75) { - outputY = absY - 0.2344; + outputY = absY - 0.228; } else if (absY > 0.75) { - outputY = (absY * 1.9376) - 0.9376; + outputY = (absY * 1.912) - 0.912; } dState.LX = (byte)(outputX * signX * 127.5 + 127.5);