diff --git a/DS4Windows/DS4Control/MouseCursor.cs b/DS4Windows/DS4Control/MouseCursor.cs index 59a429a..aaf409c 100644 --- a/DS4Windows/DS4Control/MouseCursor.cs +++ b/DS4Windows/DS4Control/MouseCursor.cs @@ -210,7 +210,7 @@ namespace DS4Windows horizontalDirection = verticalDirection = Direction.Neutral; lastTouchID = arg.touches[0].touchID; } - else if (Global.TouchpadJitterCompensation[deviceNumber]) + else if (Global.getTouchpadJitterCompensation(deviceNumber)) { // Often the DS4's internal jitter compensation kicks in and starts hiding changes, ironically creating jitter... if (dragging && touchesLen > 1) diff --git a/DS4Windows/DS4Control/ScpUtil.cs b/DS4Windows/DS4Control/ScpUtil.cs index a94d53b..b553f3d 100644 --- a/DS4Windows/DS4Control/ScpUtil.cs +++ b/DS4Windows/DS4Control/ScpUtil.cs @@ -671,6 +671,10 @@ namespace DS4Windows public static bool[] LowerRCOn => m_Config.lowerRCOn; public static bool[] TouchpadJitterCompensation => m_Config.touchpadJitterCompensation; + public static bool getTouchpadJitterCompensation(int index) + { + return m_Config.touchpadJitterCompensation[index]; + } public static int[] TouchpadInvert => m_Config.touchpadInvert; public static int getTouchpadInvert(int index) @@ -1207,7 +1211,7 @@ namespace DS4Windows public bool[] flushHIDQueue = { false, false, false, false, false }; public bool[] enableTouchToggle = { true, true, true, true, true }; public int[] idleDisconnectTimeout = { 0, 0, 0, 0, 0 }; - public bool[] touchpadJitterCompensation = { true, true, true, true, true }; + public bool[] touchpadJitterCompensation = new bool[5] { false, false, false, false, false }; public bool[] lowerRCOn = { false, false, false, false, false }; public bool[] ledAsBattery = { false, false, false, false, false }; public byte[] flashType = { 0, 0, 0, 0, 0 }; diff --git a/DS4Windows/DS4Forms/Options.Designer.cs b/DS4Windows/DS4Forms/Options.Designer.cs index 7128848..06d0b29 100644 --- a/DS4Windows/DS4Forms/Options.Designer.cs +++ b/DS4Windows/DS4Forms/Options.Designer.cs @@ -672,8 +672,6 @@ // cBTouchpadJitterCompensation // resources.ApplyResources(this.cBTouchpadJitterCompensation, "cBTouchpadJitterCompensation"); - this.cBTouchpadJitterCompensation.Checked = true; - this.cBTouchpadJitterCompensation.CheckState = System.Windows.Forms.CheckState.Checked; this.cBTouchpadJitterCompensation.ForeColor = System.Drawing.SystemColors.ControlLightLight; this.cBTouchpadJitterCompensation.Name = "cBTouchpadJitterCompensation"; this.cBTouchpadJitterCompensation.UseVisualStyleBackColor = true; diff --git a/DS4Windows/DS4Forms/Options.cs b/DS4Windows/DS4Forms/Options.cs index 3d973a3..454edc6 100644 --- a/DS4Windows/DS4Forms/Options.cs +++ b/DS4Windows/DS4Forms/Options.cs @@ -717,7 +717,7 @@ namespace DS4Windows nUDTap.Value = 0; cBTap.Checked = false; cBDoubleTap.Checked = false; - cBTouchpadJitterCompensation.Checked = true; + cBTouchpadJitterCompensation.Checked = false; touchpadInvertComboBox.SelectedIndex = 0; cBlowerRCOn.Checked = false; cBFlushHIDQueue.Checked = false; diff --git a/DS4Windows/DS4Forms/Options.resx b/DS4Windows/DS4Forms/Options.resx index d13873e..31bc8ab 100644 --- a/DS4Windows/DS4Forms/Options.resx +++ b/DS4Windows/DS4Forms/Options.resx @@ -8807,7 +8807,7 @@ with profile PS - 195, 444 + 195, 422 cMTouchDisableInvert