Fix problem with rapid touchpad mouse action clicks

Related to issue #185.
This commit is contained in:
Travis Nickles 2018-01-07 21:56:28 -06:00
parent 4a39ee57af
commit 1ac7b79a10

View File

@ -405,10 +405,11 @@ namespace DS4Windows
} }
} }
} }
//synthesizeMouseButtons();
if (s.TouchButton)
synthesizeMouseButtons();
} }
private DS4State remapped = new DS4State();
public bool dragging, dragging2; public bool dragging, dragging2;
private void synthesizeMouseButtons() private void synthesizeMouseButtons()
{ {
@ -453,8 +454,6 @@ namespace DS4Windows
dragging = false; dragging = false;
} }
} }
s = remapped;
} }
public virtual void touchButtonUp(object sender, TouchpadEventArgs arg) public virtual void touchButtonUp(object sender, TouchpadEventArgs arg)