Changed method name to specify ViGEmBus

This commit is contained in:
Travis Nickles 2019-03-19 01:33:41 -05:00
parent 1c671e694f
commit 575f157420
3 changed files with 3 additions and 3 deletions

View File

@ -340,7 +340,7 @@ namespace DS4Windows
return CheckForSysDevice(@"Root\HidGuardian");
}
public static bool IsScpVBusInstalled()
public static bool IsViGEmBusInstalled()
{
return CheckForSysDevice(@"Root\ViGEmBus");
}

View File

@ -769,7 +769,7 @@ namespace DS4Windows
{
originalsettingstext = tabSettings.Text;
bool deriverinstalled = false;
deriverinstalled = Global.IsScpVBusInstalled();
deriverinstalled = Global.IsViGEmBusInstalled();
if (!deriverinstalled)
{
Process p = new Process();

View File

@ -84,7 +84,7 @@ namespace DS4Windows
Process[] processes = Process.GetProcessesByName("ViGEmBusInstaller");
if (processes.Length < 1)
{
if (Global.IsScpVBusInstalled())
if (Global.IsViGEmBusInstalled())
{
this.BeginInvoke((Action)(() => { bnStep1.Text = Properties.Resources.InstallComplete; }));
}