Close connection to ViGEmBus before opening Driver Setup window

This commit is contained in:
Travis Nickles 2019-05-08 01:11:36 -05:00
parent b316a10ebd
commit 3d89b3786b
3 changed files with 64 additions and 103 deletions

View File

@ -160,7 +160,6 @@
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.linkProfiles = new System.Windows.Forms.LinkLabel(); this.linkProfiles = new System.Windows.Forms.LinkLabel();
this.lnkControllers = new System.Windows.Forms.LinkLabel(); this.lnkControllers = new System.Windows.Forms.LinkLabel();
this.linkUninstall = new System.Windows.Forms.LinkLabel();
this.linkSetup = new System.Windows.Forms.LinkLabel(); this.linkSetup = new System.Windows.Forms.LinkLabel();
this.lLBUpdate = new System.Windows.Forms.LinkLabel(); this.lLBUpdate = new System.Windows.Forms.LinkLabel();
this.tabLog = new System.Windows.Forms.TabPage(); this.tabLog = new System.Windows.Forms.TabPage();
@ -1234,7 +1233,6 @@
this.flowLayoutPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.flowLayoutPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.flowLayoutPanel1.Controls.Add(this.linkProfiles); this.flowLayoutPanel1.Controls.Add(this.linkProfiles);
this.flowLayoutPanel1.Controls.Add(this.lnkControllers); this.flowLayoutPanel1.Controls.Add(this.lnkControllers);
this.flowLayoutPanel1.Controls.Add(this.linkUninstall);
this.flowLayoutPanel1.Controls.Add(this.linkSetup); this.flowLayoutPanel1.Controls.Add(this.linkSetup);
this.flowLayoutPanel1.Controls.Add(this.lLBUpdate); this.flowLayoutPanel1.Controls.Add(this.lLBUpdate);
resources.ApplyResources(this.flowLayoutPanel1, "flowLayoutPanel1"); resources.ApplyResources(this.flowLayoutPanel1, "flowLayoutPanel1");
@ -1255,13 +1253,6 @@
this.lnkControllers.TabStop = true; this.lnkControllers.TabStop = true;
this.lnkControllers.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkControllers_LinkClicked); this.lnkControllers.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkControllers_LinkClicked);
// //
// linkUninstall
//
resources.ApplyResources(this.linkUninstall, "linkUninstall");
this.linkUninstall.Name = "linkUninstall";
this.linkUninstall.TabStop = true;
this.linkUninstall.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkUninstall_LinkClicked);
//
// linkSetup // linkSetup
// //
resources.ApplyResources(this.linkSetup, "linkSetup"); resources.ApplyResources(this.linkSetup, "linkSetup");
@ -1476,7 +1467,6 @@
private System.Windows.Forms.CheckBox StartWindowsCheckBox; private System.Windows.Forms.CheckBox StartWindowsCheckBox;
private System.Windows.Forms.CheckBox startMinimizedCheckBox; private System.Windows.Forms.CheckBox startMinimizedCheckBox;
private System.Windows.Forms.LinkLabel linkProfiles; private System.Windows.Forms.LinkLabel linkProfiles;
private System.Windows.Forms.LinkLabel linkUninstall;
private System.Windows.Forms.CheckBox cBDisconnectBT; private System.Windows.Forms.CheckBox cBDisconnectBT;
private System.Windows.Forms.CheckBox cBSwipeProfiles; private System.Windows.Forms.CheckBox cBSwipeProfiles;
private System.Windows.Forms.ToolStripMenuItem startToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem startToolStripMenuItem;

View File

@ -286,9 +286,6 @@ namespace DS4Windows.Forms
File.Delete(exepath + "\\Updater.exe"); File.Delete(exepath + "\\Updater.exe");
} }
if (!Directory.Exists(appdatapath + "\\Virtual Bus Driver"))
linkUninstall.Visible = false;
bool isElevated = IsAdministrator(); bool isElevated = IsAdministrator();
if (!isElevated) if (!isElevated)
{ {
@ -437,7 +434,6 @@ namespace DS4Windows.Forms
private void populateHoverTextDict() private void populateHoverTextDict()
{ {
hoverTextDict.Clear(); hoverTextDict.Clear();
hoverTextDict[linkUninstall] = Properties.Resources.IfRemovingDS4Windows;
hoverTextDict[cBSwipeProfiles] = Properties.Resources.TwoFingerSwipe; hoverTextDict[cBSwipeProfiles] = Properties.Resources.TwoFingerSwipe;
hoverTextDict[cBQuickCharge] = Properties.Resources.QuickCharge; hoverTextDict[cBQuickCharge] = Properties.Resources.QuickCharge;
hoverTextDict[cBCloseMini] = Properties.Resources.CloseMinimize; hoverTextDict[cBCloseMini] = Properties.Resources.CloseMinimize;
@ -2156,15 +2152,6 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
Process.Start(appdatapath + "\\Profiles"); Process.Start(appdatapath + "\\Profiles");
} }
private void linkUninstall_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
if (File.Exists(appdatapath + "\\Virtual Bus Driver\\ScpDriver.exe"))
{
try { Process.Start(appdatapath + "\\Virtual Bus Driver\\ScpDriver.exe"); }
catch { Process.Start(appdatapath + "\\Virtual Bus Driver"); }
}
}
private void cBoxNotifications_SelectedIndexChanged(object sender, EventArgs e) private void cBoxNotifications_SelectedIndexChanged(object sender, EventArgs e)
{ {
Notifications = cBoxNotifications.SelectedIndex; Notifications = cBoxNotifications.SelectedIndex;
@ -2172,6 +2159,24 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
private void lLSetup_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) private void lLSetup_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{ {
DriverSetupPrep();
tabSettings.Text = originalsettingstext;
linkSetup.LinkColor = Color.Blue;
}
private void DriverSetupPrep()
{
if (btnStartStop.Text == Properties.Resources.StopText)
BtnStartStop_Clicked(false);
TaskRunner.Run(() =>
{
while (changingService)
{
Thread.SpinWait(1000);
}
Process p = new Process(); Process p = new Process();
p.StartInfo.FileName = Assembly.GetExecutingAssembly().Location; p.StartInfo.FileName = Assembly.GetExecutingAssembly().Location;
p.StartInfo.Arguments = "-driverinstall"; p.StartInfo.Arguments = "-driverinstall";
@ -2180,8 +2185,7 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
catch { } catch { }
//WelcomeDialog wd = new WelcomeDialog(); //WelcomeDialog wd = new WelcomeDialog();
//wd.ShowDialog(); //wd.ShowDialog();
tabSettings.Text = originalsettingstext; });
linkSetup.LinkColor = Color.Blue;
} }
bool tempBool = false; bool tempBool = false;

View File

@ -445,10 +445,10 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnLight3.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnLight3.Location" type="System.Drawing.Point, System.Drawing">
<value>744, 89</value> <value>742, 89</value>
</data> </data>
<data name="bnLight3.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnLight3.Size" type="System.Drawing.Size, System.Drawing">
<value>149, 22</value> <value>151, 22</value>
</data> </data>
<data name="bnLight3.TabIndex" type="System.Int32, mscorlib"> <data name="bnLight3.TabIndex" type="System.Int32, mscorlib">
<value>50</value> <value>50</value>
@ -472,7 +472,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="pBStatus1.Location" type="System.Drawing.Point, System.Drawing"> <data name="pBStatus1.Location" type="System.Drawing.Point, System.Drawing">
<value>345, 34</value> <value>343, 34</value>
</data> </data>
<data name="pBStatus1.Size" type="System.Drawing.Size, System.Drawing"> <data name="pBStatus1.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 20</value> <value>39, 20</value>
@ -574,7 +574,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnEditC3.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnEditC3.Location" type="System.Drawing.Point, System.Drawing">
<value>704, 89</value> <value>702, 89</value>
</data> </data>
<data name="bnEditC3.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnEditC3.Size" type="System.Drawing.Size, System.Drawing">
<value>34, 22</value> <value>34, 22</value>
@ -604,7 +604,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnEditC4.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnEditC4.Location" type="System.Drawing.Point, System.Drawing">
<value>704, 117</value> <value>702, 117</value>
</data> </data>
<data name="bnEditC4.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnEditC4.Size" type="System.Drawing.Size, System.Drawing">
<value>34, 22</value> <value>34, 22</value>
@ -703,7 +703,7 @@
<value>None</value> <value>None</value>
</data> </data>
<data name="cBController1.Location" type="System.Drawing.Point, System.Drawing"> <data name="cBController1.Location" type="System.Drawing.Point, System.Drawing">
<value>587, 33</value> <value>585, 33</value>
</data> </data>
<data name="cBController1.Size" type="System.Drawing.Size, System.Drawing"> <data name="cBController1.Size" type="System.Drawing.Size, System.Drawing">
<value>111, 21</value> <value>111, 21</value>
@ -730,7 +730,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnEditC2.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnEditC2.Location" type="System.Drawing.Point, System.Drawing">
<value>704, 61</value> <value>702, 61</value>
</data> </data>
<data name="bnEditC2.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnEditC2.Size" type="System.Drawing.Size, System.Drawing">
<value>34, 22</value> <value>34, 22</value>
@ -757,7 +757,7 @@
<value>None</value> <value>None</value>
</data> </data>
<data name="cBController2.Location" type="System.Drawing.Point, System.Drawing"> <data name="cBController2.Location" type="System.Drawing.Point, System.Drawing">
<value>587, 61</value> <value>585, 61</value>
</data> </data>
<data name="cBController2.Size" type="System.Drawing.Size, System.Drawing"> <data name="cBController2.Size" type="System.Drawing.Size, System.Drawing">
<value>111, 21</value> <value>111, 21</value>
@ -781,7 +781,7 @@
<value>None</value> <value>None</value>
</data> </data>
<data name="cBController3.Location" type="System.Drawing.Point, System.Drawing"> <data name="cBController3.Location" type="System.Drawing.Point, System.Drawing">
<value>587, 89</value> <value>585, 89</value>
</data> </data>
<data name="cBController3.Size" type="System.Drawing.Size, System.Drawing"> <data name="cBController3.Size" type="System.Drawing.Size, System.Drawing">
<value>111, 21</value> <value>111, 21</value>
@ -808,7 +808,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnEditC1.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnEditC1.Location" type="System.Drawing.Point, System.Drawing">
<value>704, 33</value> <value>702, 33</value>
</data> </data>
<data name="bnEditC1.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnEditC1.Size" type="System.Drawing.Size, System.Drawing">
<value>34, 22</value> <value>34, 22</value>
@ -835,7 +835,7 @@
<value>None</value> <value>None</value>
</data> </data>
<data name="cBController4.Location" type="System.Drawing.Point, System.Drawing"> <data name="cBController4.Location" type="System.Drawing.Point, System.Drawing">
<value>587, 117</value> <value>585, 117</value>
</data> </data>
<data name="cBController4.Size" type="System.Drawing.Size, System.Drawing"> <data name="cBController4.Size" type="System.Drawing.Size, System.Drawing">
<value>111, 21</value> <value>111, 21</value>
@ -868,7 +868,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbSelectedProfile.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbSelectedProfile.Location" type="System.Drawing.Point, System.Drawing">
<value>588, 7</value> <value>586, 7</value>
</data> </data>
<data name="lbSelectedProfile.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbSelectedProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>109, 15</value> <value>109, 15</value>
@ -940,7 +940,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbStatus.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbStatus.Location" type="System.Drawing.Point, System.Drawing">
<value>341, 7</value> <value>339, 7</value>
</data> </data>
<data name="lbStatus.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbStatus.Size" type="System.Drawing.Size, System.Drawing">
<value>47, 15</value> <value>47, 15</value>
@ -976,7 +976,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbBattery.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBattery.Location" type="System.Drawing.Point, System.Drawing">
<value>434, 7</value> <value>432, 7</value>
</data> </data>
<data name="lbBattery.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbBattery.Size" type="System.Drawing.Size, System.Drawing">
<value>51, 15</value> <value>51, 15</value>
@ -1012,7 +1012,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbBatt1.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBatt1.Location" type="System.Drawing.Point, System.Drawing">
<value>440, 36</value> <value>438, 36</value>
</data> </data>
<data name="lbBatt1.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbBatt1.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 15</value> <value>39, 15</value>
@ -1048,7 +1048,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbBatt2.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBatt2.Location" type="System.Drawing.Point, System.Drawing">
<value>440, 64</value> <value>438, 64</value>
</data> </data>
<data name="lbBatt2.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbBatt2.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 15</value> <value>39, 15</value>
@ -1084,7 +1084,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbBatt3.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBatt3.Location" type="System.Drawing.Point, System.Drawing">
<value>440, 92</value> <value>438, 92</value>
</data> </data>
<data name="lbBatt3.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbBatt3.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 15</value> <value>39, 15</value>
@ -1120,7 +1120,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbBatt4.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBatt4.Location" type="System.Drawing.Point, System.Drawing">
<value>440, 120</value> <value>438, 120</value>
</data> </data>
<data name="lbBatt4.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbBatt4.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 15</value> <value>39, 15</value>
@ -1150,7 +1150,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="pBStatus2.Location" type="System.Drawing.Point, System.Drawing"> <data name="pBStatus2.Location" type="System.Drawing.Point, System.Drawing">
<value>345, 62</value> <value>343, 62</value>
</data> </data>
<data name="pBStatus2.Size" type="System.Drawing.Size, System.Drawing"> <data name="pBStatus2.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 20</value> <value>39, 20</value>
@ -1180,7 +1180,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="pBStatus3.Location" type="System.Drawing.Point, System.Drawing"> <data name="pBStatus3.Location" type="System.Drawing.Point, System.Drawing">
<value>345, 90</value> <value>343, 90</value>
</data> </data>
<data name="pBStatus3.Size" type="System.Drawing.Size, System.Drawing"> <data name="pBStatus3.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 20</value> <value>39, 20</value>
@ -1210,7 +1210,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="pBStatus4.Location" type="System.Drawing.Point, System.Drawing"> <data name="pBStatus4.Location" type="System.Drawing.Point, System.Drawing">
<value>345, 118</value> <value>343, 118</value>
</data> </data>
<data name="pBStatus4.Size" type="System.Drawing.Size, System.Drawing"> <data name="pBStatus4.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 20</value> <value>39, 20</value>
@ -1243,10 +1243,10 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnLight1.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnLight1.Location" type="System.Drawing.Point, System.Drawing">
<value>744, 33</value> <value>742, 33</value>
</data> </data>
<data name="bnLight1.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnLight1.Size" type="System.Drawing.Size, System.Drawing">
<value>149, 22</value> <value>151, 22</value>
</data> </data>
<data name="bnLight1.TabIndex" type="System.Int32, mscorlib"> <data name="bnLight1.TabIndex" type="System.Int32, mscorlib">
<value>50</value> <value>50</value>
@ -1273,10 +1273,10 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnLight2.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnLight2.Location" type="System.Drawing.Point, System.Drawing">
<value>744, 61</value> <value>742, 61</value>
</data> </data>
<data name="bnLight2.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnLight2.Size" type="System.Drawing.Size, System.Drawing">
<value>149, 22</value> <value>151, 22</value>
</data> </data>
<data name="bnLight2.TabIndex" type="System.Int32, mscorlib"> <data name="bnLight2.TabIndex" type="System.Int32, mscorlib">
<value>51</value> <value>51</value>
@ -1303,10 +1303,10 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnLight4.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnLight4.Location" type="System.Drawing.Point, System.Drawing">
<value>744, 117</value> <value>742, 117</value>
</data> </data>
<data name="bnLight4.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnLight4.Size" type="System.Drawing.Size, System.Drawing">
<value>149, 22</value> <value>151, 22</value>
</data> </data>
<data name="bnLight4.TabIndex" type="System.Int32, mscorlib"> <data name="bnLight4.TabIndex" type="System.Int32, mscorlib">
<value>52</value> <value>52</value>
@ -1336,7 +1336,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbLinkProfile.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbLinkProfile.Location" type="System.Drawing.Point, System.Drawing">
<value>510, 0</value> <value>508, 0</value>
</data> </data>
<data name="lbLinkProfile.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbLinkProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>67, 30</value> <value>67, 30</value>
@ -1375,7 +1375,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="linkCB1.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkCB1.Location" type="System.Drawing.Point, System.Drawing">
<value>536, 37</value> <value>534, 37</value>
</data> </data>
<data name="linkCB1.Size" type="System.Drawing.Size, System.Drawing"> <data name="linkCB1.Size" type="System.Drawing.Size, System.Drawing">
<value>15, 14</value> <value>15, 14</value>
@ -1408,7 +1408,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="linkCB2.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkCB2.Location" type="System.Drawing.Point, System.Drawing">
<value>536, 65</value> <value>534, 65</value>
</data> </data>
<data name="linkCB2.Size" type="System.Drawing.Size, System.Drawing"> <data name="linkCB2.Size" type="System.Drawing.Size, System.Drawing">
<value>15, 14</value> <value>15, 14</value>
@ -1441,7 +1441,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="linkCB3.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkCB3.Location" type="System.Drawing.Point, System.Drawing">
<value>536, 93</value> <value>534, 93</value>
</data> </data>
<data name="linkCB3.Size" type="System.Drawing.Size, System.Drawing"> <data name="linkCB3.Size" type="System.Drawing.Size, System.Drawing">
<value>15, 14</value> <value>15, 14</value>
@ -1474,7 +1474,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="linkCB4.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkCB4.Location" type="System.Drawing.Point, System.Drawing">
<value>536, 121</value> <value>534, 121</value>
</data> </data>
<data name="linkCB4.Size" type="System.Drawing.Size, System.Drawing"> <data name="linkCB4.Size" type="System.Drawing.Size, System.Drawing">
<value>15, 14</value> <value>15, 14</value>
@ -1522,7 +1522,7 @@
<value>0</value> <value>0</value>
</data> </data>
<data name="tLPControllers.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms"> <data name="tLPControllers.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="bnLight3" Row="3" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus1" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbPad1" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad2" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC3" Row="3" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC4" Row="4" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="lbPad3" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad4" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="cBController1" Row="1" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC2" Row="2" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController2" Row="2" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="cBController3" Row="3" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC1" Row="1" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController4" Row="4" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbSelectedProfile" Row="0" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbID" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbStatus" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbBattery" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt1" Row="1" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt2" Row="2" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt3" Row="3" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt4" Row="4" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus2" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus3" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus4" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="bnLight1" Row="1" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight2" Row="2" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight4" Row="4" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="lbLinkProfile" Row="0" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB1" Row="1" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB2" Row="2" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB3" Row="3" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB4" Row="4" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,62,29144,Percent,20,02225,Percent,17,68632,Absolute,80,AutoSize,0,AutoSize,0,Absolute,154" /&gt;&lt;Rows Styles="AutoSize,0,Percent,25,Percent,25,Percent,25,Percent,25" /&gt;&lt;/TableLayoutSettings&gt;</value> <value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="bnLight3" Row="3" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus1" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbPad1" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad2" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC3" Row="3" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC4" Row="4" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="lbPad3" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad4" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="cBController1" Row="1" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC2" Row="2" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController2" Row="2" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="cBController3" Row="3" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC1" Row="1" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController4" Row="4" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbSelectedProfile" Row="0" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbID" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbStatus" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbBattery" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt1" Row="1" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt2" Row="2" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt3" Row="3" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt4" Row="4" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus2" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus3" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus4" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="bnLight1" Row="1" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight2" Row="2" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight4" Row="4" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="lbLinkProfile" Row="0" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB1" Row="1" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB2" Row="2" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB3" Row="3" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB4" Row="4" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,62.29144,Percent,20.02225,Percent,17.68632,Absolute,80,AutoSize,0,AutoSize,0,Absolute,155" /&gt;&lt;Rows Styles="AutoSize,0,Percent,25,Percent,25,Percent,25,Percent,25" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data> </data>
<data name="lbNoControllers.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms"> <data name="lbNoControllers.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value> <value>Fill</value>
@ -2824,7 +2824,7 @@
<value>languagePackComboBox1</value> <value>languagePackComboBox1</value>
</data> </data>
<data name="&gt;&gt;languagePackComboBox1.Type" xml:space="preserve"> <data name="&gt;&gt;languagePackComboBox1.Type" xml:space="preserve">
<value>DS4Windows.DS4Forms.LanguagePackComboBox, DS4Windows, Version=1.7.7.0, Culture=neutral, PublicKeyToken=null</value> <value>DS4Windows.DS4Forms.LanguagePackComboBox, DS4Windows, Version=1.7.8.0, Culture=neutral, PublicKeyToken=null</value>
</data> </data>
<data name="&gt;&gt;languagePackComboBox1.Parent" xml:space="preserve"> <data name="&gt;&gt;languagePackComboBox1.Parent" xml:space="preserve">
<value>fLPSettings</value> <value>fLPSettings</value>
@ -2949,39 +2949,6 @@
<data name="&gt;&gt;lnkControllers.ZOrder" xml:space="preserve"> <data name="&gt;&gt;lnkControllers.ZOrder" xml:space="preserve">
<value>1</value> <value>1</value>
</data> </data>
<data name="linkUninstall.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="linkUninstall.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="linkUninstall.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 30</value>
</data>
<data name="linkUninstall.Size" type="System.Drawing.Size, System.Drawing">
<value>106, 13</value>
</data>
<data name="linkUninstall.TabIndex" type="System.Int32, mscorlib">
<value>44</value>
</data>
<data name="linkUninstall.Text" xml:space="preserve">
<value>Uninstall VBus Driver</value>
</data>
<data name="linkUninstall.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleCenter</value>
</data>
<data name="&gt;&gt;linkUninstall.Name" xml:space="preserve">
<value>linkUninstall</value>
</data>
<data name="&gt;&gt;linkUninstall.Type" xml:space="preserve">
<value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;linkUninstall.Parent" xml:space="preserve">
<value>flowLayoutPanel1</value>
</data>
<data name="&gt;&gt;linkUninstall.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="linkSetup.AutoSize" type="System.Boolean, mscorlib"> <data name="linkSetup.AutoSize" type="System.Boolean, mscorlib">
<value>True</value> <value>True</value>
</data> </data>
@ -2989,7 +2956,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="linkSetup.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkSetup.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 43</value> <value>7, 30</value>
</data> </data>
<data name="linkSetup.Size" type="System.Drawing.Size, System.Drawing"> <data name="linkSetup.Size" type="System.Drawing.Size, System.Drawing">
<value>115, 13</value> <value>115, 13</value>
@ -3010,7 +2977,7 @@
<value>flowLayoutPanel1</value> <value>flowLayoutPanel1</value>
</data> </data>
<data name="&gt;&gt;linkSetup.ZOrder" xml:space="preserve"> <data name="&gt;&gt;linkSetup.ZOrder" xml:space="preserve">
<value>3</value> <value>2</value>
</data> </data>
<data name="lLBUpdate.AutoSize" type="System.Boolean, mscorlib"> <data name="lLBUpdate.AutoSize" type="System.Boolean, mscorlib">
<value>True</value> <value>True</value>
@ -3019,7 +2986,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lLBUpdate.Location" type="System.Drawing.Point, System.Drawing"> <data name="lLBUpdate.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 56</value> <value>7, 43</value>
</data> </data>
<data name="lLBUpdate.Size" type="System.Drawing.Size, System.Drawing"> <data name="lLBUpdate.Size" type="System.Drawing.Size, System.Drawing">
<value>116, 13</value> <value>116, 13</value>
@ -3043,7 +3010,7 @@
<value>flowLayoutPanel1</value> <value>flowLayoutPanel1</value>
</data> </data>
<data name="&gt;&gt;lLBUpdate.ZOrder" xml:space="preserve"> <data name="&gt;&gt;lLBUpdate.ZOrder" xml:space="preserve">
<value>4</value> <value>3</value>
</data> </data>
<data name="flowLayoutPanel1.FlowDirection" type="System.Windows.Forms.FlowDirection, System.Windows.Forms"> <data name="flowLayoutPanel1.FlowDirection" type="System.Windows.Forms.FlowDirection, System.Windows.Forms">
<value>TopDown</value> <value>TopDown</value>
@ -3598,7 +3565,7 @@
<value>advColorDialog</value> <value>advColorDialog</value>
</data> </data>
<data name="&gt;&gt;advColorDialog.Type" xml:space="preserve"> <data name="&gt;&gt;advColorDialog.Type" xml:space="preserve">
<value>DS4Windows.AdvancedColorDialog, DS4Windows, Version=1.7.7.0, Culture=neutral, PublicKeyToken=null</value> <value>DS4Windows.AdvancedColorDialog, DS4Windows, Version=1.7.8.0, Culture=neutral, PublicKeyToken=null</value>
</data> </data>
<data name="&gt;&gt;$this.Name" xml:space="preserve"> <data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>DS4Form</value> <value>DS4Form</value>