Removed old unused field

This commit is contained in:
Travis Nickles 2018-10-25 01:37:26 -05:00
parent 687ff05948
commit ce78793dea

View File

@ -150,7 +150,6 @@ namespace DS4Windows
public DateTime lastActive = DateTime.UtcNow; public DateTime lastActive = DateTime.UtcNow;
public DateTime firstActive = DateTime.UtcNow; public DateTime firstActive = DateTime.UtcNow;
private bool charging; private bool charging;
private bool outputRumble = false;
private int warnInterval = WARN_INTERVAL_USB; private int warnInterval = WARN_INTERVAL_USB;
public int getWarnInterval() public int getWarnInterval()
{ {
@ -649,7 +648,6 @@ namespace DS4Windows
} }
//outReportBuffer.CopyTo(outputReport, 0); //outReportBuffer.CopyTo(outputReport, 0);
outputPendCount--; outputPendCount--;
outputRumble = false;
} }
currentRumble = true; currentRumble = true;
@ -1175,7 +1173,6 @@ namespace DS4Windows
if (synchronous) if (synchronous)
{ {
outputRumble = false;
outputPendCount = 3; outputPendCount = 3;
if (change) if (change)
@ -1215,7 +1212,6 @@ namespace DS4Windows
outputPendCount = 3; outputPendCount = 3;
} }
outputRumble = true;
Monitor.Pulse(outReportBuffer); Monitor.Pulse(outReportBuffer);
} }
} }