Add minor log notice about HidGuardian

This commit is contained in:
Travis Nickles 2020-01-25 21:02:37 -06:00
parent aa2ff36490
commit c02e6c89dc
2 changed files with 6 additions and 1 deletions

View File

@ -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;

View File

@ -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,