Make touchpad jitter compensation default to false

This commit is contained in:
Travis Nickles 2017-08-06 19:50:49 -05:00
parent 8ae6e062e3
commit cb599a984f
5 changed files with 8 additions and 6 deletions

View File

@ -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)

View File

@ -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 };

View File

@ -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;

View File

@ -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;

View File

@ -8807,7 +8807,7 @@ with profile</value>
<value>PS</value>
</data>
<data name="cMTouchDisableInvert.Size" type="System.Drawing.Size, System.Drawing">
<value>195, 444</value>
<value>195, 422</value>
</data>
<data name="&gt;&gt;cMTouchDisableInvert.Name" xml:space="preserve">
<value>cMTouchDisableInvert</value>