Display input delay as a double

This commit is contained in:
Travis Nickles 2020-03-23 14:14:38 -05:00
parent d730369600
commit 4ec4eb830f
3 changed files with 3 additions and 3 deletions

View File

@ -810,7 +810,7 @@ namespace DS4Windows
tempLatencyCount++;
//Latency = latencyQueue.Average();
Latency = latencySum / tempLatencyCount;
Latency = latencySum / (double)tempLatencyCount;
readWaitEv.Set();

View File

@ -667,7 +667,7 @@ namespace DS4WinWPF.Properties {
}
/// <summary>
/// Looks up a localized string similar to Input Delay: {0} ms.
/// Looks up a localized string similar to Input Delay: {0:0.##} ms.
/// </summary>
public static string InputDelay {
get {

View File

@ -314,7 +314,7 @@
<value>If removing DS4Windows, You can delete the settings following the profile folder link</value>
</data>
<data name="InputDelay" xml:space="preserve">
<value>Input Delay: {0} ms</value>
<value>Input Delay: {0:0.##} ms</value>
</data>
<data name="InstallComplete" xml:space="preserve">
<value>Install Complete</value>