diff --git a/DS4Windows/DS4Control/Mapping.cs b/DS4Windows/DS4Control/Mapping.cs index b6e2c42..19c2c39 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -838,28 +838,34 @@ namespace DS4Windows if (absX <= 0.4) { - outputX = 0.38 * absX; + //outputX = 0.38 * absX; + outputX = 0.385 * absX; } else if (absX <= 0.75) { - outputX = absX - 0.248; + //outputX = absX - 0.248; + outputX = absX - 0.246; } else if (absX > 0.75) { - outputX = (absX * 1.992) - 0.992; + //outputX = (absX * 1.992) - 0.992; + outputX = (absX * 1.984) - 0.984; } if (absY <= 0.4) { - outputY = 0.38 * absY; + //outputY = 0.38 * absY; + outputY = 0.385 * absY; } else if (absY <= 0.75) { - outputY = absY - 0.248; + //outputY = absY - 0.248; + outputY = absY - 0.246; } else if (absY > 0.75) { - outputY = (absY * 1.992) - 0.992; + //outputY = (absY * 1.992) - 0.992; + outputY = (absY * 1.984) - 0.984; } dState.RX = (byte)(outputX * signX * 127.5 + 127.5); diff --git a/TODO.md b/TODO.md index 2544256..b827f3d 100644 --- a/TODO.md +++ b/TODO.md @@ -2,8 +2,8 @@ * Integrate HidGuardian * Experiment with ViGEm driver -* Replace BackgroundImage for panel controls to use PictureBox (high contrast) -* Further tweak analog stick mouse mode +* ~~Replace BackgroundImage for panel controls to use PictureBox (high contrast)~~ +* ~~Further tweak analog stick mouse mode~~ * Attempt to work out BT disconnect issues by looking at older versions * Attempt to remove reliance on the main thread when disconnecting a device. Currently used to delay hotplug routine