diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index c773442..2849a33 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -478,7 +478,6 @@ namespace DS4Windows } private byte priorInputReport30 = 0xff; public double Latency = 0; - bool warn = false; public string error; private void performDs4Input() { @@ -499,13 +498,6 @@ namespace DS4Windows this.Latency = Latency.Average(); - if (this.Latency > warnInterval && !warn && sw.ElapsedMilliseconds > 4000) - { - warn = true; - //System.Diagnostics.Trace.WriteLine(System.DateTime.UtcNow.ToString("o") + "> " + "Controller " + /*this.DeviceNum*/ + 1 + " (" + this.MacAddress + ") is experiencing latency issues. Currently at " + Math.Round(this.Latency, 2).ToString() + "ms of recomended maximum 10ms"); - } - else if (this.Latency <= warnInterval && warn) warn = false; - if (conType == ConnectionType.BT) { //HidDevice.ReadStatus res = hDevice.ReadFile(btInputReport);