mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 02:54:20 +01:00
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)
This commit is contained in:
parent
5bdcdd99ea
commit
044a38f1a9
@ -33,6 +33,7 @@ namespace DS4Control
|
|||||||
public virtual void touchesMoved(object sender, TouchpadEventArgs arg)
|
public virtual void touchesMoved(object sender, TouchpadEventArgs arg)
|
||||||
{
|
{
|
||||||
cursor.touchesMoved(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);
|
wheel.touchesMoved(arg);
|
||||||
dev.getCurrentState(s);
|
dev.getCurrentState(s);
|
||||||
synthesizeMouseButtons();
|
synthesizeMouseButtons();
|
||||||
|
Loading…
Reference in New Issue
Block a user