From 044a38f1a96a4c67b071e8508d43346f882441a0 Mon Sep 17 00:00:00 2001 From: jays2kings Date: Mon, 28 Apr 2014 23:02:12 -0400 Subject: [PATCH] Now have to move the touchpad a small distance to start scroll This allows multitouch to be useful as middlemouse w/ scrolling enabled(Yes a lot of small changes I'm sorry) --- DS4Control/Mouse.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/DS4Control/Mouse.cs b/DS4Control/Mouse.cs index 4f349d6..df74d43 100644 --- a/DS4Control/Mouse.cs +++ b/DS4Control/Mouse.cs @@ -33,6 +33,7 @@ namespace DS4Control public virtual void touchesMoved(object sender, TouchpadEventArgs arg) { cursor.touchesMoved(arg); + if (Math.Abs(firstTouch.hwX - arg.touches[0].hwX) > 5 && Math.Abs(firstTouch.hwY - arg.touches[0].hwY) > 5) wheel.touchesMoved(arg); dev.getCurrentState(s); synthesizeMouseButtons();