From fc679bf80792ed679793decbe06b5134b8bfe47c Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Fri, 27 Mar 2020 04:12:18 -0500 Subject: [PATCH] Loosened enhanced precision curves --- DS4Windows/DS4Control/Mapping.cs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/DS4Windows/DS4Control/Mapping.cs b/DS4Windows/DS4Control/Mapping.cs index 4521fd5..3c057c0 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -979,28 +979,28 @@ namespace DS4Windows if (absX <= 0.4) { - outputX = 0.7 * absX; + outputX = 0.8 * absX; } else if (absX <= 0.75) { - outputX = absX - 0.12; + outputX = absX - 0.08; } else if (absX > 0.75) { - outputX = (absX * 1.48) - 0.48; + outputX = (absX * 1.32) - 0.32; } if (absY <= 0.4) { - outputY = 0.7 * absY; + outputY = 0.8 * absY; } else if (absY <= 0.75) { - outputY = absY - 0.12; + outputY = absY - 0.08; } else if (absY > 0.75) { - outputY = (absY * 1.48) - 0.48; + outputY = (absY * 1.32) - 0.32; } dState.LX = (byte)(outputX * signX * capX + 128.0); @@ -1082,28 +1082,28 @@ namespace DS4Windows if (absX <= 0.4) { - outputX = 0.7 * absX; + outputX = 0.8 * absX; } else if (absX <= 0.75) { - outputX = absX - 0.12; + outputX = absX - 0.08; } else if (absX > 0.75) { - outputX = (absX * 1.48) - 0.48; + outputX = (absX * 1.32) - 0.32; } if (absY <= 0.4) { - outputY = 0.7 * absY; + outputY = 0.8 * absY; } else if (absY <= 0.75) { - outputY = absY - 0.12; + outputY = absY - 0.08; } else if (absY > 0.75) { - outputY = (absY * 1.48) - 0.48; + outputY = (absY * 1.32) - 0.32; } dState.RX = (byte)(outputX * signX * capX + 128.0);