diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index e78a6a6..5284abb 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -576,10 +576,9 @@ namespace DS4Windows try { int lastError = 0; + bool result = false, currentRumble = false; while (!exitOutputThread) { - bool result = false, currentRumble = false; - if (currentRumble) { lock(outputReport) @@ -1089,7 +1088,7 @@ namespace DS4Windows if (output || change) { - if (outputPendCount == 0 || change) + if (change) outputPendCount = 3; outputRumble = true;