diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index 7054218..368de7c 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -717,7 +717,7 @@ namespace DS4Windows { firstActive = DateTime.UtcNow; NativeMethods.HidD_SetNumInputBuffers(hDevice.safeReadHandle.DangerousGetHandle(), 2); - Queue latencyQueue = new Queue(11); // Set capacity at max + 1 to avoid any resizing + Queue latencyQueue = new Queue(21); // Set capacity at max + 1 to avoid any resizing int tempLatencyCount = 0; long oldtime = 0; string currerror = string.Empty; @@ -746,7 +746,7 @@ namespace DS4Windows oldCharging = charging; currerror = string.Empty; - if (tempLatencyCount >= 10) + if (tempLatencyCount >= 20) { latencyQueue.Dequeue(); tempLatencyCount--;