Fix output report updating

This commit is contained in:
Travis Nickles 2017-11-18 13:15:15 -06:00
parent 649e3b2ceb
commit 45c0b9945c

View File

@ -576,10 +576,9 @@ namespace DS4Windows
try try
{ {
int lastError = 0; int lastError = 0;
bool result = false, currentRumble = false;
while (!exitOutputThread) while (!exitOutputThread)
{ {
bool result = false, currentRumble = false;
if (currentRumble) if (currentRumble)
{ {
lock(outputReport) lock(outputReport)
@ -1089,7 +1088,7 @@ namespace DS4Windows
if (output || change) if (output || change)
{ {
if (outputPendCount == 0 || change) if (change)
outputPendCount = 3; outputPendCount = 3;
outputRumble = true; outputRumble = true;