From cc4bc7f05c5e2b90a0ee838e68095cf290c080e6 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Tue, 6 Mar 2018 17:41:16 -0600 Subject: [PATCH] Use output thread for USB connections again --- DS4Windows/DS4Library/DS4Device.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index 82f827e..a63c27e 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -521,7 +521,7 @@ namespace DS4Windows //Console.WriteLine(MacAddress.ToString() + " " + System.DateTime.UtcNow.ToString("o") + "> start"); sendOutputReport(true); // initialize the output report - if (conType == ConnectionType.BT) + //if (conType == ConnectionType.BT) { // Only use the output thread for Bluetooth connections. // USB will utilize overlapped IO instead. @@ -1066,7 +1066,7 @@ namespace DS4Windows { syncWriteReport = false; } - sendOutputReport(syncWriteReport); + sendOutputReport(false); if (!string.IsNullOrEmpty(currerror)) error = currerror;