Version 1.4.0.872

Really fixed the touchpad clicking this time
This commit is contained in:
jays2kings 2014-11-04 00:12:23 -05:00
parent 88008ee784
commit d6e2f555bb
2 changed files with 10 additions and 10 deletions

View File

@ -116,23 +116,23 @@ namespace DS4Control
private void synthesizeMouseButtons()
{
if (Global.getCustomButton(deviceNum, DS4Controls.TouchLeft) == X360Controls.None &&
Global.getShiftCustomMacro(deviceNum, DS4Controls.TouchLeft) == "0" &&
Global.getShiftCustomKey(deviceNum, DS4Controls.TouchLeft) == 0 &&
Global.getCustomMacro(deviceNum, DS4Controls.TouchLeft) == "0" &&
Global.getCustomKey(deviceNum, DS4Controls.TouchLeft) == 0 &&
leftDown)
Mapping.MapClick(deviceNum, Mapping.Click.Left);
if (Global.getCustomButton(deviceNum, DS4Controls.TouchUpper) == X360Controls.None &&
Global.getShiftCustomMacro(deviceNum, DS4Controls.TouchUpper) == "0" &&
Global.getShiftCustomKey(deviceNum, DS4Controls.TouchUpper) == 0 &&
Global.getCustomMacro(deviceNum, DS4Controls.TouchUpper) == "0" &&
Global.getCustomKey(deviceNum, DS4Controls.TouchUpper) == 0 &&
upperDown)
Mapping.MapClick(deviceNum, Mapping.Click.Middle);
if (Global.getCustomButton(deviceNum, DS4Controls.TouchRight) == X360Controls.None &&
Global.getShiftCustomMacro(deviceNum, DS4Controls.TouchRight) == "0" &&
Global.getShiftCustomKey(deviceNum, DS4Controls.TouchRight) == 0 &&
Global.getCustomMacro(deviceNum, DS4Controls.TouchRight) == "0" &&
Global.getCustomKey(deviceNum, DS4Controls.TouchRight) == 0 &&
rightDown)
Mapping.MapClick(deviceNum, Mapping.Click.Left);
if (Global.getCustomButton(deviceNum, DS4Controls.TouchMulti) == X360Controls.None &&
Global.getShiftCustomMacro(deviceNum, DS4Controls.TouchMulti) == "0" &&
Global.getShiftCustomKey(deviceNum, DS4Controls.TouchMulti) == 0 &&
Global.getCustomMacro(deviceNum, DS4Controls.TouchMulti) == "0" &&
Global.getCustomKey(deviceNum, DS4Controls.TouchMulti) == 0 &&
multiDown)
Mapping.MapClick(deviceNum, Mapping.Click.Right);
if (tappedOnce)

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.4.0.871")]
[assembly: AssemblyFileVersion("1.4.0.871")]
[assembly: AssemblyVersion("1.4.0.872")]
[assembly: AssemblyFileVersion("1.4.0.872")]