From 722bdf9670374707b5a898478468ff752411a7dd Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Tue, 16 Oct 2018 12:56:51 -0500 Subject: [PATCH] Loosened enhanced precision curves further This seems to be as loose as it can be with the DS4 analog stick and still be usable. --- 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 153ce18..69f0ac4 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -779,28 +779,28 @@ namespace DS4Windows if (absX <= 0.4) { - outputX = 0.48 * absX; + outputX = 0.481 * absX; } else if (absX <= 0.75) { - outputX = absX - 0.208; + outputX = absX - 0.2076; } else if (absX > 0.75) { - outputX = (absX * 1.8319) - 0.8319; + outputX = (absX * 1.8304) - 0.8304; } if (absY <= 0.4) { - outputY = 0.48 * absY; + outputY = 0.481 * absY; } else if (absY <= 0.75) { - outputY = absY - 0.208; + outputY = absY - 0.2076; } else if (absY > 0.75) { - outputY = (absY * 1.8319) - 0.8319; + outputY = (absY * 1.8304) - 0.8304; } dState.LX = (byte)(outputX * signX * 127.5 + 127.5); @@ -839,28 +839,28 @@ namespace DS4Windows if (absX <= 0.4) { - outputX = 0.48 * absX; + outputX = 0.481 * absX; } else if (absX <= 0.75) { - outputX = absX - 0.208; + outputX = absX - 0.2076; } else if (absX > 0.75) { - outputX = (absX * 1.8319) - 0.8319; + outputX = (absX * 1.8304) - 0.8304; } if (absY <= 0.4) { - outputY = 0.48 * absY; + outputY = 0.481 * absY; } else if (absY <= 0.75) { - outputY = absY - 0.208; + outputY = absY - 0.2076; } else if (absY > 0.75) { - outputY = (absY * 1.8319) - 0.8319; + outputY = (absY * 1.8304) - 0.8304; } dState.RX = (byte)(outputX * signX * 127.5 + 127.5);