diff --git a/DS4Control/DS4LightBar.cs b/DS4Control/DS4LightBar.cs index bce3f37..41b43a0 100644 --- a/DS4Control/DS4LightBar.cs +++ b/DS4Control/DS4LightBar.cs @@ -131,7 +131,12 @@ namespace DS4Control else if (shuttingdown) color = new DS4Color { red = 0, green = 0, blue = 0 }; else - color = new DS4Color { red = 32, green = 64, blue = 64 }; + { + if (device.ConnectionType == ConnectionType.BT) + color = new DS4Color { red = 32, green = 64, blue = 64 }; + else + color = new DS4Color { red = 0, green = 0, blue = 0 }; + } Color dsc = Color.FromArgb(color.red, color.green, color.blue); if (Global.getAProfile(deviceNum).ToLower().Contains("distance")) { //Thing I did for Distance @@ -171,7 +176,7 @@ namespace DS4Control } if (device.LightBarOnDuration != haptics.LightBarFlashDurationOn && device.LightBarOnDuration != 1 && haptics.LightBarFlashDurationOn == 0) haptics.LightBarFlashDurationOff = haptics.LightBarFlashDurationOn = 1; - if (device.LightBarOnDuration == 1) + if (device.LightBarOnDuration == 1) //helps better reset the color System.Threading.Thread.Sleep(5); device.pushHapticState(haptics); } diff --git a/DS4Tool/Properties/AssemblyInfo.cs b/DS4Tool/Properties/AssemblyInfo.cs index dd423f8..01478d8 100644 --- a/DS4Tool/Properties/AssemblyInfo.cs +++ b/DS4Tool/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.4.0.55")] -[assembly: AssemblyFileVersion("1.4.0.55")] +[assembly: AssemblyVersion("1.4.0.56")] +[assembly: AssemblyFileVersion("1.4.0.56")]