mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-23 23:21:49 +01:00
Fix problem with rapid touchpad mouse action clicks
Related to issue #185.
This commit is contained in:
parent
4a39ee57af
commit
1ac7b79a10
@ -405,10 +405,11 @@ namespace DS4Windows
|
||||
}
|
||||
}
|
||||
}
|
||||
//synthesizeMouseButtons();
|
||||
|
||||
if (s.TouchButton)
|
||||
synthesizeMouseButtons();
|
||||
}
|
||||
|
||||
private DS4State remapped = new DS4State();
|
||||
public bool dragging, dragging2;
|
||||
private void synthesizeMouseButtons()
|
||||
{
|
||||
@ -453,8 +454,6 @@ namespace DS4Windows
|
||||
dragging = false;
|
||||
}
|
||||
}
|
||||
|
||||
s = remapped;
|
||||
}
|
||||
|
||||
public virtual void touchButtonUp(object sender, TouchpadEventArgs arg)
|
||||
|
Loading…
Reference in New Issue
Block a user