Populate tool tip with input delay info no matter which connection type is used

Related to issue #28.
This commit is contained in:
Travis Nickles 2017-10-05 16:06:27 -05:00
parent 16f6f5be32
commit 2622aa46b6

View File

@ -2177,7 +2177,7 @@ namespace DS4Windows
Label lb = (Label)sender; Label lb = (Label)sender;
int i = Convert.ToInt32(lb.Tag); int i = Convert.ToInt32(lb.Tag);
DS4Device d = Program.rootHub.DS4Controllers[i]; DS4Device d = Program.rootHub.DS4Controllers[i];
if (d != null && d.ConnectionType == ConnectionType.BT) if (d != null)
{ {
double latency = d.Latency; double latency = d.Latency;
toolTip1.Hide(Pads[i]); toolTip1.Hide(Pads[i]);