diff --git a/DS4Windows/DS4Control/ControlService.cs b/DS4Windows/DS4Control/ControlService.cs index 2180c1e..d38bf36 100644 --- a/DS4Windows/DS4Control/ControlService.cs +++ b/DS4Windows/DS4Control/ControlService.cs @@ -165,7 +165,7 @@ namespace DS4Windows // Thread.SpinWait(500); //} - if (Global.IsHidGuardianInstalled()) + if (Global.hidguardInstalled) { ProcessStartInfo startInfo = new ProcessStartInfo(Global.exedirpath + "\\HidGuardHelper.exe"); @@ -422,6 +422,10 @@ namespace DS4Windows LogDebug(DS4WinWPF.Properties.Resources.Starting); LogDebug($"Connection to ViGEmBus {Global.vigembusVersion} established"); + if (Global.hidguardInstalled) + { + LogDebug($"HidGuardian In Use"); + } DS4Devices.isExclusiveMode = getUseExclusiveMode(); //uiContext = tempui as SynchronizationContext; diff --git a/DS4Windows/DS4Control/ScpUtil.cs b/DS4Windows/DS4Control/ScpUtil.cs index 039b9af..88cc0cc 100644 --- a/DS4Windows/DS4Control/ScpUtil.cs +++ b/DS4Windows/DS4Control/ScpUtil.cs @@ -263,6 +263,7 @@ namespace DS4Windows DS4Windows.OutContType.None, DS4Windows.OutContType.None, DS4Windows.OutContType.None }; public static bool vigemInstalled = IsViGEmBusInstalled(); + public static bool hidguardInstalled = IsHidGuardianInstalled(); public static string vigembusVersion = ViGEmBusVersion(); public static X360Controls[] defaultButtonMapping = { X360Controls.None, X360Controls.LXNeg, X360Controls.LXPos,