mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-02-18 08:56:20 +01:00
Changed method name to specify ViGEmBus
This commit is contained in:
parent
1c671e694f
commit
575f157420
@ -340,7 +340,7 @@ namespace DS4Windows
|
|||||||
return CheckForSysDevice(@"Root\HidGuardian");
|
return CheckForSysDevice(@"Root\HidGuardian");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool IsScpVBusInstalled()
|
public static bool IsViGEmBusInstalled()
|
||||||
{
|
{
|
||||||
return CheckForSysDevice(@"Root\ViGEmBus");
|
return CheckForSysDevice(@"Root\ViGEmBus");
|
||||||
}
|
}
|
||||||
|
@ -769,7 +769,7 @@ namespace DS4Windows
|
|||||||
{
|
{
|
||||||
originalsettingstext = tabSettings.Text;
|
originalsettingstext = tabSettings.Text;
|
||||||
bool deriverinstalled = false;
|
bool deriverinstalled = false;
|
||||||
deriverinstalled = Global.IsScpVBusInstalled();
|
deriverinstalled = Global.IsViGEmBusInstalled();
|
||||||
if (!deriverinstalled)
|
if (!deriverinstalled)
|
||||||
{
|
{
|
||||||
Process p = new Process();
|
Process p = new Process();
|
||||||
|
@ -84,7 +84,7 @@ namespace DS4Windows
|
|||||||
Process[] processes = Process.GetProcessesByName("ViGEmBusInstaller");
|
Process[] processes = Process.GetProcessesByName("ViGEmBusInstaller");
|
||||||
if (processes.Length < 1)
|
if (processes.Length < 1)
|
||||||
{
|
{
|
||||||
if (Global.IsScpVBusInstalled())
|
if (Global.IsViGEmBusInstalled())
|
||||||
{
|
{
|
||||||
this.BeginInvoke((Action)(() => { bnStep1.Text = Properties.Resources.InstallComplete; }));
|
this.BeginInvoke((Action)(() => { bnStep1.Text = Properties.Resources.InstallComplete; }));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user