diff --git a/DS4Windows/DS4Control/Mouse.cs b/DS4Windows/DS4Control/Mouse.cs index 87f7905..f98550d 100644 --- a/DS4Windows/DS4Control/Mouse.cs +++ b/DS4Windows/DS4Control/Mouse.cs @@ -213,7 +213,7 @@ namespace DS4Windows public virtual void touchUnchanged(object sender, EventArgs unused) { s = dev.getCurrentStateRef(); - synthesizeMouseButtons(); + //synthesizeMouseButtons(); } private DS4State remapped = new DS4State(); diff --git a/DS4Windows/DS4Library/DS4Touchpad.cs b/DS4Windows/DS4Library/DS4Touchpad.cs index 5d8f1ef..3f6454e 100644 --- a/DS4Windows/DS4Library/DS4Touchpad.cs +++ b/DS4Windows/DS4Library/DS4Touchpad.cs @@ -67,7 +67,7 @@ namespace DS4Windows private bool PacketChanged(byte[] data, int touchPacketOffset) { bool changed = false; - for (int i = 0, arLen = previousPacket.Length; i < arLen; i++) + for (int i = 0, arLen = previousPacket.Length; !changed && i < arLen; i++) { byte oldValue = previousPacket[i]; previousPacket[i] = data[i + TOUCHPAD_DATA_OFFSET + touchPacketOffset];