From 45c0b9945c452b26d384b54544677c671b303d8b Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Sat, 18 Nov 2017 13:15:15 -0600 Subject: [PATCH] Fix output report updating --- DS4Windows/DS4Library/DS4Device.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;