New UI for Options, no more tabs! Same with the actions window

This commit is contained in:
jays2kings 2014-05-12 01:48:50 -04:00
parent 629390b12e
commit a3ca56d8a6
17 changed files with 3037 additions and 2748 deletions

View File

@ -146,6 +146,9 @@
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="Resources\UpperTouch.png" />
<None Include="Resources\sticks.png" />
<None Include="Resources\Touch.png" />
<None Include="Resources\Touch states2.png" /> <None Include="Resources\Touch states2.png" />
<None Include="Resources\sticks2.png" /> <None Include="Resources\sticks2.png" />
<None Include="Resources\360 fades.png" /> <None Include="Resources\360 fades.png" />
@ -154,6 +157,9 @@
<None Include="Resources\mouse.png" /> <None Include="Resources\mouse.png" />
<None Include="Resources\rainbow.png" /> <None Include="Resources\rainbow.png" />
<None Include="Resources\rainbowC.png" /> <None Include="Resources\rainbowC.png" />
<None Include="Resources\LeftTouch.png" />
<None Include="Resources\MultiTouch.png" />
<None Include="Resources\RightTouch.png" />
<Content Include="Resources\Scp_All.ico" /> <Content Include="Resources\Scp_All.ico" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,7 @@ namespace ScpServer
private int device; private int device;
private Button button; private Button button;
private Options ops; private Options ops;
public KBM360(DS4Control.Control bus_device, int deviceNum, Options ooo, Button buton, int tabStart) public KBM360(DS4Control.Control bus_device, int deviceNum, Options ooo, Button buton)
{ {
InitializeComponent(); InitializeComponent();
device = deviceNum; device = deviceNum;
@ -27,12 +27,9 @@ namespace ScpServer
if (button.Font.Bold) if (button.Font.Bold)
cbScanCode.Checked = true; cbScanCode.Checked = true;
Text = "Select an action for " + button.Name.Substring(2); Text = "Select an action for " + button.Name.Substring(2);
foreach (System.Windows.Forms.Control control in tabKBM.Controls) foreach (System.Windows.Forms.Control control in this.Controls)
if (control is Button) if (control is Button)
((Button)control).Click += new System.EventHandler(anybtn_Click); ((Button)control).Click += new System.EventHandler(anybtn_Click);
foreach (System.Windows.Forms.Control control in tab360.Controls)
if (control is Button)
((Button)control).Click += new System.EventHandler(anybtn_Click360);
if (button.Name.Contains("Touch")) if (button.Name.Contains("Touch"))
{ {
bnMOUSEDOWN.Visible = false; bnMOUSEDOWN.Visible = false;
@ -40,11 +37,6 @@ namespace ScpServer
bnMOUSERIGHT.Visible = false; bnMOUSERIGHT.Visible = false;
bnMOUSEUP.Visible = false; bnMOUSEUP.Visible = false;
} }
if (tabStart < 2)
tabControl1.SelectedIndex = tabStart;
else
tabControl1.SelectedIndex = 0;
ReFocus();
} }
public void anybtn_Click(object sender, EventArgs e) public void anybtn_Click(object sender, EventArgs e)
@ -69,27 +61,16 @@ namespace ScpServer
} }
else else
keyname = ((Button)sender).Text; keyname = ((Button)sender).Text;
object keytag = ((Button)sender).Tag; object keytag;
if (((Button)sender).Tag == "X360")
keytag = ((Button)sender).Text;
else
keytag = ((Button)sender).Tag;
ops.ChangeButtonText(keyname, keytag); ops.ChangeButtonText(keyname, keytag);
this.Close(); this.Close();
} }
} }
private void ReFocus()
{
if (ops.Focused)
this.Enabled = false;
}
public void anybtn_Click360(object sender, EventArgs e)
{
if (sender is Button)
{
string keyname = ((Button)sender).Text;
ops.ChangeButtonText(keyname);
this.Close();
}
}
private void finalMeasure(object sender, FormClosedEventArgs e) private void finalMeasure(object sender, FormClosedEventArgs e)
{ {
ops.Toggle_Repeat(cbRepeat.Checked); ops.Toggle_Repeat(cbRepeat.Checked);

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,6 @@ namespace ScpServer
private DS4Control.Control scpDevice; private DS4Control.Control scpDevice;
private int device; private int device;
private string filename; private string filename;
private ScpForm mainWin;
Byte[] oldLedColor, oldLowLedColor; Byte[] oldLedColor, oldLowLedColor;
Timer sixaxisTimer = new Timer(); Timer sixaxisTimer = new Timer();
private List<Button> buttons = new List<Button>(); private List<Button> buttons = new List<Button>();
@ -22,13 +21,12 @@ namespace ScpServer
private Color reg, full; private Color reg, full;
private Image colored, greyscale; private Image colored, greyscale;
public Options(DS4Control.Control bus_device, int deviceNum, string name, ScpForm mainWindow) public Options(DS4Control.Control bus_device, int deviceNum, string name)
{ {
InitializeComponent(); InitializeComponent();
device = deviceNum; device = deviceNum;
scpDevice = bus_device; scpDevice = bus_device;
filename = name; filename = name;
mainWin = mainWindow;
colored = pBRainbow.Image; colored = pBRainbow.Image;
greyscale = GreyscaleImage((Bitmap)pBRainbow.Image); greyscale = GreyscaleImage((Bitmap)pBRainbow.Image);
if (filename != "") if (filename != "")
@ -63,17 +61,13 @@ namespace ScpServer
// Force update of color choosers // Force update of color choosers
alphacolor = Math.Max(redBar.Value, Math.Max(greenBar.Value, blueBar.Value)); alphacolor = Math.Max(redBar.Value, Math.Max(greenBar.Value, blueBar.Value));
reg = Color.FromArgb(color.red, color.green, color.blue); reg = Color.FromArgb(color.red, color.green, color.blue);
full = HuetoRGB(reg.GetHue(), reg.GetSaturation()); full = HuetoRGB(reg.GetHue(), reg.GetBrightness(), reg);
colorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full); pBController.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full);
pBController.BackColor = colorChooserButton.BackColor;
alphacolor = Math.Max(lowRedBar.Value, Math.Max(greenBar.Value, blueBar.Value)); alphacolor = Math.Max(lowRedBar.Value, Math.Max(greenBar.Value, blueBar.Value));
reg = Color.FromArgb(lowColor.red, lowColor.green, lowColor.blue); reg = Color.FromArgb(lowColor.red, lowColor.green, lowColor.blue);
full = HuetoRGB(reg.GetHue(), reg.GetSaturation()); full = HuetoRGB(reg.GetHue(), reg.GetBrightness(), reg);
lowColorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full); lowColorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full);
lowRedValLabel.Text = lowColor.red.ToString();
lowGreenValLabel.Text = lowColor.green.ToString();
lowBlueValLabel.Text = lowColor.blue.ToString();
numUDRainbow.Value = (decimal)Global.getRainbow(device); numUDRainbow.Value = (decimal)Global.getRainbow(device);
if (Global.getRainbow(device) == 0) if (Global.getRainbow(device) == 0)
{ {
@ -108,30 +102,26 @@ namespace ScpServer
}); });
sixaxisTimer.Interval = 1000 / 60; sixaxisTimer.Interval = 1000 / 60;
#endregion #endregion
foreach (System.Windows.Forms.Control control in this.MainPanel.Controls)
foreach (System.Windows.Forms.Control control in tabControls.Controls)
if (control is Button) if (control is Button)
if (!((Button)control).Text.Contains("btn")) if (!((Button)control).Name.Contains("btn"))
buttons.Add((Button)control); buttons.Add((Button)control);
foreach (System.Windows.Forms.Control control in tabTouchPad.Controls) foreach (System.Windows.Forms.Control control in this.SticksPanel.Controls)
if (control is Button) if (control is Button)
buttons.Add((Button)control); if (!((Button)control).Name.Contains("btn"))
foreach (System.Windows.Forms.Control control in tabAnalogSticks.Controls) buttons.Add((Button)control);
if (control is Button)
buttons.Add((Button)control);
if (filename != "" && filename != "New Profile") if (filename != "" && filename != "New Profile")
Global.LoadProfile(device, buttons.ToArray()); Global.LoadProfile(device, buttons.ToArray());
ToolTip tp = new ToolTip(); ToolTip tp = new ToolTip();
tp.SetToolTip(cBlowerRCOn, "Best used with right side as mouse"); tp.SetToolTip(cBlowerRCOn, "Use lower right Touchpad as right mouse");
tp.SetToolTip(cBDoubleTap, "Tap and hold to drag, slight delay with one tap"); tp.SetToolTip(cBDoubleTap, "Tap and hold to drag, slight delay with one tap");
tp.SetToolTip(btnLightbar, "Click to change color");
advColorDialog.OnUpdateColor += advColorDialog_OnUpdateColor; advColorDialog.OnUpdateColor += advColorDialog_OnUpdateColor;
btnLeftStick.Enter += btnSticks_Enter; btnLeftStick.Enter += btnSticks_Enter;
btnRightStick.Enter += btnSticks_Enter; btnRightStick.Enter += btnSticks_Enter;
btnTouchtab.Enter += btnTouchtab_Enter;
UpdateLists(); UpdateLists();
} }
private void SetDynamicTrackBarValue(TrackBar trackBar, int value) private void SetDynamicTrackBarValue(TrackBar trackBar, int value)
{ {
if (trackBar.Maximum < value) if (trackBar.Maximum < value)
@ -141,27 +131,51 @@ namespace ScpServer
trackBar.Value = value; trackBar.Value = value;
} }
private void Set()
{
Global.saveColor(device, (byte)redBar.Value, (byte)greenBar.Value, (byte)blueBar.Value);
Global.saveLowColor(device, (byte)lowRedBar.Value, (byte)lowGreenBar.Value, (byte)lowBlueBar.Value);
Global.setLeftTriggerMiddle(device, (double)numUDL2.Value);
Global.setRightTriggerMiddle(device, (double)numUDR2.Value);
Global.saveRumbleBoost(device, (byte)rumbleBoostBar.Value);
Global.setTouchSensitivity(device, (byte)numUDTouch.Value);
Global.setTouchpadJitterCompensation(device, touchpadJitterCompensation.Checked);
Global.setLowerRCOn(device, cBlowerRCOn.Checked);
Global.setScrollSensitivity(device, (byte)numUDScroll.Value);
Global.setDoubleTap(device, cBDoubleTap.Checked);
Global.setButtonMouseSensitivity(device, tBMouseSens.Value);
Global.setTapSensitivity(device, (byte)numUDTap.Value);
Global.setIdleDisconnectTimeout(device, (int)idleDisconnectTimeout.Value);
Global.setButtonMouseSensitivity(device, tBMouseSens.Value);
Global.setRainbow(device, (int)numUDRainbow.Value);
if (numUDRainbow.Value == 0) pBRainbow.Image = greyscale;
else pBRainbow.Image = colored;
}
private void saveButton_Click(object sender, EventArgs e)
{
Set();
if (tBProfile.Text != null && tBProfile.Text != "" && !tBProfile.Text.Contains("\\") && !tBProfile.Text.Contains("/") && !tBProfile.Text.Contains(":") && !tBProfile.Text.Contains("*") && !tBProfile.Text.Contains("?") && !tBProfile.Text.Contains("\"") && !tBProfile.Text.Contains("<") && !tBProfile.Text.Contains(">") && !tBProfile.Text.Contains("|"))
{
System.IO.File.Delete(Directory.GetParent(Assembly.GetExecutingAssembly().Location).FullName + @"\Profiles\" + filename + ".xml");
Global.setAProfile(device, tBProfile.Text);
Global.SaveProfile(device, tBProfile.Text, buttons.ToArray());
Global.Save();
this.Close();
}
else
MessageBox.Show("Please enter a valid name", "Not valid", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
KBM360 kbm360 = null; KBM360 kbm360 = null;
private void Show_ControlsBn(object sender, EventArgs e) private void Show_ControlsBn(object sender, EventArgs e)
{ {
lastSelected = (Button)sender; lastSelected = (Button)sender;
kbm360 = new KBM360(scpDevice, device, this, lastSelected, 0); kbm360 = new KBM360(scpDevice, device, this, lastSelected);
kbm360.Icon = this.Icon; kbm360.Icon = this.Icon;
kbm360.ShowDialog(); kbm360.ShowDialog();
//kbm360.FormClosed += delegate { kbm360 = null; };
//this.Enabled = false;
}
private void Show360Controls(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
{
lastSelected = (Button)sender;
kbm360 = new KBM360(scpDevice, device, this, lastSelected, 1);
kbm360.Icon = this.Icon;
kbm360.ShowDialog();
}
} }
public void ChangeButtonText(string controlname, object tag) public void ChangeButtonText(string controlname, object tag)
@ -202,140 +216,157 @@ namespace ScpServer
} }
private void btnSticks_Enter(object sender, EventArgs e) private void btnSticks_Enter(object sender, EventArgs e)
{ {
tabOptions.SelectTab(1); SticksPanel.Visible = true;
MainPanel.Visible = false;
} }
private void btnTouchtab_Enter(object sender, EventArgs e)
private void btnFullView_Click(object sender, EventArgs e)
{ {
tabOptions.SelectTab(2); SticksPanel.Visible = false;
MainPanel.Visible = true;
} }
private void btnLightbar_Click(object sender, EventArgs e) private void btnLightbar_Click(object sender, EventArgs e)
{ {
tabOptions.SelectTab(3); advColorDialog.Color = Color.FromArgb(redBar.Value, greenBar.Value, blueBar.Value);
} advColorDialog_OnUpdateColor(pBController.BackColor, e);
if (advColorDialog.ShowDialog() == DialogResult.OK)
private void Set()
{
Global.saveColor(device, (byte)redBar.Value, (byte)greenBar.Value, (byte)blueBar.Value);
Global.saveLowColor(device, (byte)lowRedBar.Value, (byte)lowGreenBar.Value, (byte)lowBlueBar.Value);
Global.setLeftTriggerMiddle(device, (double)numUDL2.Value);
Global.setRightTriggerMiddle(device, (double)numUDR2.Value);
Global.saveRumbleBoost(device, (byte)rumbleBoostBar.Value);
Global.setTouchSensitivity(device, (byte)numUDTouch.Value);
Global.setTouchpadJitterCompensation(device, touchpadJitterCompensation.Checked);
Global.setLowerRCOn(device, cBlowerRCOn.Checked);
Global.setScrollSensitivity(device, (byte)numUDScroll.Value);
Global.setDoubleTap(device, cBDoubleTap.Checked);
Global.setButtonMouseSensitivity(device, tBMouseSens.Value);
Global.setTapSensitivity(device, (byte)numUDTap.Value);
Global.setIdleDisconnectTimeout(device, (int)idleDisconnectTimeout.Value);
Global.setButtonMouseSensitivity(device, tBMouseSens.Value);
Global.setRainbow(device, (int)numUDRainbow.Value);
if (numUDRainbow.Value == 0) pBRainbow.Image = greyscale;
else pBRainbow.Image = colored;
}
private void saveButton_Click(object sender, EventArgs e)
{
Set();
if (tBProfile.Text != null && tBProfile.Text != "" && !tBProfile.Text.Contains("\\") && !tBProfile.Text.Contains("/") && !tBProfile.Text.Contains(":") && !tBProfile.Text.Contains("*") && !tBProfile.Text.Contains("?") && !tBProfile.Text.Contains("\"") && !tBProfile.Text.Contains("<") && !tBProfile.Text.Contains(">") && !tBProfile.Text.Contains("|"))
{ {
Global.setAProfile(device, tBProfile.Text); pBController.BackColor = advColorDialog.Color;
Global.SaveProfile(device, tBProfile.Text, buttons.ToArray()); redBar.Value = advColorDialog.Color.R;
Global.Save(); greenBar.Value = advColorDialog.Color.G;
this.Close(); blueBar.Value = advColorDialog.Color.B;
}
else Global.saveColor(device, oldLedColor[0], oldLedColor[1], oldLedColor[2]);
//Global.saveLowColor(device, oldLowLedColor[0], oldLowLedColor[1], oldLowLedColor[2]);
oldLedColor = null;
oldLowLedColor = null;
}
private void lowColorChooserButton_Click(object sender, EventArgs e)
{
advColorDialog.Color = lowColorChooserButton.BackColor;
advColorDialog_OnUpdateColor(lowColorChooserButton.BackColor, e);
if (advColorDialog.ShowDialog() == DialogResult.OK)
{
lowColorChooserButton.BackColor = advColorDialog.Color;
lowRedBar.Value = advColorDialog.Color.R;
lowGreenBar.Value = advColorDialog.Color.G;
lowBlueBar.Value = advColorDialog.Color.B;
}
else Global.saveLowColor(device, oldLowLedColor[0], oldLowLedColor[1], oldLowLedColor[2]);
Global.saveColor(device, oldLedColor[0], oldLedColor[1], oldLedColor[2]);
oldLedColor = null;
oldLowLedColor = null;
}
private void advColorDialog_OnUpdateColor(object sender, EventArgs e)
{
if (oldLedColor == null || oldLowLedColor == null)
{
DS4Color color = Global.loadColor(device);
oldLedColor = new Byte[] { color.red, color.green, color.blue };
color = Global.loadLowColor(device);
oldLowLedColor = new Byte[] { color.red, color.green, color.blue };
}
if (sender is Color)
{
Color color = (Color)sender;
Global.saveColor(device, color.R, color.G, color.B);
Global.saveLowColor(device, color.R, color.G, color.B);
} }
else
MessageBox.Show("Please enter a valid name", "Not valid", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
} }
private void redBar_ValueChanged(object sender, EventArgs e) private void redBar_ValueChanged(object sender, EventArgs e)
{ {
int value = ((TrackBar)sender).Value;
int sat = 244 - (value < 244 ? value : 244);
int som = 244 + 11 * (int)(value * 0.0039215);
((TrackBar)sender).BackColor = Color.FromArgb(som, sat, sat);
alphacolor = Math.Max(redBar.Value, Math.Max(greenBar.Value, blueBar.Value)); alphacolor = Math.Max(redBar.Value, Math.Max(greenBar.Value, blueBar.Value));
reg = Color.FromArgb(redBar.Value, greenBar.Value, blueBar.Value); reg = Color.FromArgb(redBar.Value, greenBar.Value, blueBar.Value);
full = HuetoRGB(reg.GetHue(), reg.GetSaturation()); full = HuetoRGB(reg.GetHue(), reg.GetBrightness(), reg);
colorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full); pBController.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full);
Global.saveColor(device, (byte)redBar.Value, (byte)greenBar.Value, (byte)blueBar.Value); Global.saveColor(device, (byte)redBar.Value, (byte)greenBar.Value, (byte)blueBar.Value);
pBController.BackColor = colorChooserButton.BackColor;
redValLabel.Text = redBar.Value.ToString();
} }
private void greenBar_ValueChanged(object sender, EventArgs e) private void greenBar_ValueChanged(object sender, EventArgs e)
{ {
int value = ((TrackBar)sender).Value;
int sat = 244 - (value < 244 ? value : 244);
int som = 244 + 11 * (int)(value * 0.0039215);
((TrackBar)sender).BackColor = Color.FromArgb(sat, som, sat);
alphacolor = Math.Max(redBar.Value, Math.Max(greenBar.Value, blueBar.Value)); alphacolor = Math.Max(redBar.Value, Math.Max(greenBar.Value, blueBar.Value));
reg = Color.FromArgb(redBar.Value, greenBar.Value, blueBar.Value); reg = Color.FromArgb(redBar.Value, greenBar.Value, blueBar.Value);
full = HuetoRGB(reg.GetHue(), reg.GetSaturation()); full = HuetoRGB(reg.GetHue(), reg.GetBrightness(), reg);
colorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full); pBController.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full);
Global.saveColor(device, (byte)redBar.Value, (byte)greenBar.Value, (byte)blueBar.Value); Global.saveColor(device, (byte)redBar.Value, (byte)greenBar.Value, (byte)blueBar.Value);
pBController.BackColor = colorChooserButton.BackColor;
greenValLabel.Text = greenBar.Value.ToString();
} }
private void blueBar_ValueChanged(object sender, EventArgs e) private void blueBar_ValueChanged(object sender, EventArgs e)
{ {
int value = ((TrackBar)sender).Value;
int sat = 244 - (value < 244 ? value : 244);
int som = 244 + 11 * (int)(value * 0.0039215);
((TrackBar)sender).BackColor = Color.FromArgb(sat, sat, som);
alphacolor = Math.Max(redBar.Value, Math.Max(greenBar.Value, blueBar.Value)); alphacolor = Math.Max(redBar.Value, Math.Max(greenBar.Value, blueBar.Value));
reg = Color.FromArgb(redBar.Value, greenBar.Value, blueBar.Value); reg = Color.FromArgb(redBar.Value, greenBar.Value, blueBar.Value);
full = HuetoRGB(reg.GetHue(), reg.GetSaturation()); full = HuetoRGB(reg.GetHue(), reg.GetBrightness(), reg);
colorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full); pBController.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full);
Global.saveColor(device, (byte)redBar.Value, (byte)greenBar.Value, (byte)blueBar.Value); Global.saveColor(device, (byte)redBar.Value, (byte)greenBar.Value, (byte)blueBar.Value);
pBController.BackColor = colorChooserButton.BackColor;
blueValLabel.Text = blueBar.Value.ToString();
} }
private void lowRedBar_ValueChanged(object sender, EventArgs e) private void lowRedBar_ValueChanged(object sender, EventArgs e)
{ {
int value = ((TrackBar)sender).Value;
int sat = 244 - (value < 244 ? value : 244);
int som = 244 + 11 * (int)(value * 0.0039215);
((TrackBar)sender).BackColor = Color.FromArgb(som, sat, sat);
alphacolor = Math.Max(lowRedBar.Value, Math.Max(lowGreenBar.Value, lowBlueBar.Value)); alphacolor = Math.Max(lowRedBar.Value, Math.Max(lowGreenBar.Value, lowBlueBar.Value));
reg = Color.FromArgb(lowRedBar.Value, lowGreenBar.Value, lowBlueBar.Value); reg = Color.FromArgb(lowRedBar.Value, lowGreenBar.Value, lowBlueBar.Value);
full = HuetoRGB(reg.GetHue(), reg.GetSaturation()); full = HuetoRGB(reg.GetHue(), reg.GetBrightness(), reg);
lowColorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full); lowColorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full);
Global.saveLowColor(device, (byte)lowRedBar.Value, (byte)lowGreenBar.Value, (byte)lowBlueBar.Value); Global.saveLowColor(device, (byte)lowRedBar.Value, (byte)lowGreenBar.Value, (byte)lowBlueBar.Value);
lowRedValLabel.Text = lowRedBar.Value.ToString();
} }
private void lowGreenBar_ValueChanged(object sender, EventArgs e) private void lowGreenBar_ValueChanged(object sender, EventArgs e)
{ {
int value = ((TrackBar)sender).Value;
int sat = 244 - (value < 244 ? value : 244);
int som = 244 + 11 * (int)(value * 0.0039215);
((TrackBar)sender).BackColor = Color.FromArgb(sat, som, sat);
alphacolor = Math.Max(lowRedBar.Value, Math.Max(lowGreenBar.Value, lowBlueBar.Value)); alphacolor = Math.Max(lowRedBar.Value, Math.Max(lowGreenBar.Value, lowBlueBar.Value));
reg = Color.FromArgb(lowRedBar.Value, lowGreenBar.Value, lowBlueBar.Value); reg = Color.FromArgb(lowRedBar.Value, lowGreenBar.Value, lowBlueBar.Value);
full = HuetoRGB(reg.GetHue(), reg.GetSaturation()); full = HuetoRGB(reg.GetHue(), reg.GetBrightness(), reg);
lowColorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full); lowColorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full);
Global.saveLowColor(device, (byte)lowRedBar.Value, (byte)lowGreenBar.Value, (byte)lowBlueBar.Value); Global.saveLowColor(device, (byte)lowRedBar.Value, (byte)lowGreenBar.Value, (byte)lowBlueBar.Value);
lowGreenValLabel.Text = lowGreenBar.Value.ToString();
} }
private void lowBlueBar_ValueChanged(object sender, EventArgs e) private void lowBlueBar_ValueChanged(object sender, EventArgs e)
{ {
int value = ((TrackBar)sender).Value;
int sat = 244 - (value < 244 ? value : 244);
int som = 244 + 11 * (int)(value * 0.0039215);
((TrackBar)sender).BackColor = Color.FromArgb(sat, sat, som);
alphacolor = Math.Max(lowRedBar.Value, Math.Max(lowGreenBar.Value, lowBlueBar.Value)); alphacolor = Math.Max(lowRedBar.Value, Math.Max(lowGreenBar.Value, lowBlueBar.Value));
reg = Color.FromArgb(lowRedBar.Value, lowGreenBar.Value, lowBlueBar.Value); reg = Color.FromArgb(lowRedBar.Value, lowGreenBar.Value, lowBlueBar.Value);
full = HuetoRGB(reg.GetHue(), reg.GetSaturation()); full = HuetoRGB(reg.GetHue(), reg.GetBrightness(), reg);
lowColorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full); lowColorChooserButton.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full);
Global.saveLowColor(device, (byte)lowRedBar.Value, (byte)lowGreenBar.Value, (byte)lowBlueBar.Value); Global.saveLowColor(device, (byte)lowRedBar.Value, (byte)lowGreenBar.Value, (byte)lowBlueBar.Value);
lowBlueValLabel.Text = lowBlueBar.Value.ToString();
} }
public Color HuetoRGB(float hue, float sat) public Color HuetoRGB(float hue, float light, Color rgb)
{ {
int C = (int)(sat * 255); float L = (float)Math.Max(.5, light);
int X = (int)((sat * (float)(1 - Math.Abs((hue / 60) % 2 - 1))) * 255); float C = (1 - Math.Abs(2 * L - 1));
if (sat == 0) float X = (C * (1 - Math.Abs((hue / 60) % 2 - 1)));
return Color.FromName("White"); float m = L - C / 2;
else if (0 <= hue && hue < 60) float R =0, G=0, B=0;
return Color.FromArgb(C, X, 0); if (light == 1) return Color.FromName("White");
else if (60 <= hue && hue < 120) else if (rgb.R == rgb.G && rgb.G == rgb.B) return Color.FromName("White");
return Color.FromArgb(X, C, 0); else if (0 <= hue && hue < 60) { R = C; G = X; }
else if (120 <= hue && hue < 180) else if (60 <= hue && hue < 120) { R = X; G = C; }
return Color.FromArgb(0, C, X); else if (120 <= hue && hue < 180) { G = C; B = X; }
else if (180 <= hue && hue < 240) else if (180 <= hue && hue < 240) { G = X; B = C; }
return Color.FromArgb(0, X, C); else if (240 <= hue && hue < 300) { R = X; B = C; }
else if (240 <= hue && hue < 300) else if (300 <= hue && hue < 360) { R = C; B = X; }
return Color.FromArgb(X, 0, C); return Color.FromArgb((int)((R + m) * 255), (int)((G + m) * 255), (int)((B + m) * 255));
else if (300 <= hue && hue < 360)
return Color.FromArgb(C, 0, X);
else
return Color.FromName("Black");
} }
private void rumbleBoostBar_ValueChanged(object sender, EventArgs e) private void rumbleBoostBar_ValueChanged(object sender, EventArgs e)
{ {
Global.saveRumbleBoost(device, (byte)rumbleBoostBar.Value); Global.saveRumbleBoost(device, (byte)rumbleBoostBar.Value);
@ -376,15 +407,11 @@ namespace ScpServer
private void numUDTap_ValueChanged(object sender, EventArgs e) private void numUDTap_ValueChanged(object sender, EventArgs e)
{ {
Global.setTapSensitivity(device, (byte)numUDTap.Value); Global.setTapSensitivity(device, (byte)numUDTap.Value);
if (numUDTap.Value == 0)
cBDoubleTap.Enabled = false;
else
cBDoubleTap.Enabled = true;
} }
private void numUDScroll_ValueChanged(object sender, EventArgs e) private void numUDScroll_ValueChanged(object sender, EventArgs e)
{ {
Global.setScrollSensitivity(device, (byte)numUDScroll.Value); Global.setScrollSensitivity(device, (int)numUDScroll.Value);
} }
private void ledAsBatteryIndicator_CheckedChanged(object sender, EventArgs e) private void ledAsBatteryIndicator_CheckedChanged(object sender, EventArgs e)
{ {
@ -393,21 +420,23 @@ namespace ScpServer
// New settings // New settings
if (batteryLed.Checked) if (batteryLed.Checked)
{ {
lowLedPanel.Visible = true; while (this.Size.Height < 530)
//lowLedCheckBox.Visible = true; this.Size += new Size(0, 1);
fullLedPanel.Size = new Size(174, 127); lowBatteryPanel.Visible = true;
fullColorLabel.Visible = true; batteryOpsPanel.Location = new Point(batteryOpsPanel.Location.X, 430);
SixaxisPanel.Location = new Point(SixaxisPanel.Location.X, 460);
lbLightbar.Text = "Full:";
Global.setLedAsBatteryIndicator(device, true); Global.setLedAsBatteryIndicator(device, true);
} }
else else
{ {
lowLedPanel.Visible = false; while (this.Size.Height > 500)
//lowLedCheckBox.Visible = false; this.Size -= new Size(0, 1);
fullLedPanel.Size = new Size(351, 127); lowBatteryPanel.Visible = false;
fullColorLabel.Visible = false; batteryOpsPanel.Location = new Point(batteryOpsPanel.Location.X, 400);
SixaxisPanel.Location = new Point(SixaxisPanel.Location.X, 430);
lbLightbar.Text = "Light Bar:";
Global.setLedAsBatteryIndicator(device, false); Global.setLedAsBatteryIndicator(device, false);
} }
} }
@ -422,63 +451,8 @@ namespace ScpServer
private void touchpadJitterCompensation_CheckedChanged(object sender, EventArgs e) private void touchpadJitterCompensation_CheckedChanged(object sender, EventArgs e)
{ {
Global.setTouchpadJitterCompensation(device, touchpadJitterCompensation.Checked); Global.setTouchpadJitterCompensation(device, touchpadJitterCompensation.Checked);
} }
private void colorChooserButton_Click(object sender, EventArgs e)
{
advColorDialog.Color = Color.FromArgb(redBar.Value, greenBar.Value, blueBar.Value);
advColorDialog_OnUpdateColor(colorChooserButton.BackColor, e);
if (advColorDialog.ShowDialog() == DialogResult.OK)
{
redValLabel.Text = advColorDialog.Color.R.ToString();
greenValLabel.Text = advColorDialog.Color.G.ToString();
blueValLabel.Text = advColorDialog.Color.B.ToString();
colorChooserButton.BackColor = advColorDialog.Color;
redBar.Value = advColorDialog.Color.R;
greenBar.Value = advColorDialog.Color.G;
blueBar.Value = advColorDialog.Color.B;
}
else Global.saveColor(device, oldLedColor[0], oldLedColor[1], oldLedColor[2]);
//Global.saveLowColor(device, oldLowLedColor[0], oldLowLedColor[1], oldLowLedColor[2]);
oldLedColor = null;
oldLowLedColor = null;
}
private void lowColorChooserButton_Click(object sender, EventArgs e)
{
advColorDialog.Color = lowColorChooserButton.BackColor;
advColorDialog_OnUpdateColor(lowColorChooserButton.BackColor, e);
if (advColorDialog.ShowDialog() == DialogResult.OK)
{
lowRedValLabel.Text = advColorDialog.Color.R.ToString();
lowGreenValLabel.Text = advColorDialog.Color.G.ToString();
lowBlueValLabel.Text = advColorDialog.Color.B.ToString();
lowColorChooserButton.BackColor = advColorDialog.Color;
lowRedBar.Value = advColorDialog.Color.R;
lowGreenBar.Value = advColorDialog.Color.G;
lowBlueBar.Value = advColorDialog.Color.B;
}
else Global.saveLowColor(device, oldLowLedColor[0], oldLowLedColor[1], oldLowLedColor[2]);
Global.saveColor(device, oldLedColor[0], oldLedColor[1], oldLedColor[2]);
oldLedColor = null;
oldLowLedColor = null;
}
private void advColorDialog_OnUpdateColor(object sender, EventArgs e)
{
if (oldLedColor == null || oldLowLedColor == null)
{
DS4Color color = Global.loadColor(device);
oldLedColor = new Byte[] { color.red, color.green, color.blue };
color = Global.loadLowColor(device);
oldLowLedColor = new Byte[] { color.red, color.green, color.blue };
}
if (sender is Color)
{
Color color = (Color)sender;
Global.saveColor(device, color.R, color.G, color.B);
Global.saveLowColor(device, color.R, color.G, color.B);
}
}
private void flushHIDQueue_CheckedChanged(object sender, EventArgs e) private void flushHIDQueue_CheckedChanged(object sender, EventArgs e)
{ {
@ -487,7 +461,7 @@ namespace ScpServer
private void idleDisconnectTimeout_ValueChanged(object sender, EventArgs e) private void idleDisconnectTimeout_ValueChanged(object sender, EventArgs e)
{ {
Global.setIdleDisconnectTimeout(device, (int)(idleDisconnectTimeout.Value * 60));
} }
private void Options_Closed(object sender, FormClosedEventArgs e) private void Options_Closed(object sender, FormClosedEventArgs e)
@ -496,17 +470,15 @@ namespace ScpServer
sixaxisTimer.Stop(); sixaxisTimer.Stop();
for (int i = 0; i < 4; i++) for (int i = 0; i < 4; i++)
Global.LoadProfile(i); //Refreshes all profiles in case other controllers are using the same profile Global.LoadProfile(i); //Refreshes all profiles in case other controllers are using the same profile
mainWin.RefreshProfiles();
} }
private void tBProfile_TextChanged(object sender, EventArgs e) private void tBProfile_TextChanged(object sender, EventArgs e)
{ {
if (tBProfile.Text != null && tBProfile.Text != "" && !tBProfile.Text.Contains("\\") && !tBProfile.Text.Contains("/") && !tBProfile.Text.Contains(":") && !tBProfile.Text.Contains("*") && !tBProfile.Text.Contains("?") && !tBProfile.Text.Contains("\"") && !tBProfile.Text.Contains("<") && !tBProfile.Text.Contains(">") && !tBProfile.Text.Contains("|")) if (tBProfile.Text != null && tBProfile.Text != "" && !tBProfile.Text.Contains("\\") && !tBProfile.Text.Contains("/") && !tBProfile.Text.Contains(":") && !tBProfile.Text.Contains("*") && !tBProfile.Text.Contains("?") && !tBProfile.Text.Contains("\"") && !tBProfile.Text.Contains("<") && !tBProfile.Text.Contains(">") && !tBProfile.Text.Contains("|"))
{
tBProfile.ForeColor = System.Drawing.SystemColors.WindowText; tBProfile.ForeColor = System.Drawing.SystemColors.WindowText;
}
else else
tBProfile.ForeColor = System.Drawing.SystemColors.GrayText; tBProfile.ForeColor = System.Drawing.SystemColors.GrayText;
//if (System.IO.File.Exists(Directory.GetParent(Assembly.GetExecutingAssembly().Location).FullName + @"\Profiles\" + tBProfile.Text + ".xml"))
} }
private void tBProfile_Enter(object sender, EventArgs e) private void tBProfile_Enter(object sender, EventArgs e)
@ -521,7 +493,7 @@ namespace ScpServer
tBProfile.Text = "<type profile name here>"; tBProfile.Text = "<type profile name here>";
} }
private void checkBox1_CheckedChanged(object sender, EventArgs e) private void cBSlide_CheckedChanged(object sender, EventArgs e)
{ {
if (cBSlide.Checked) if (cBSlide.Checked)
numUDTouch.Value = 100; numUDTouch.Value = 100;
@ -546,6 +518,7 @@ namespace ScpServer
else else
numUDTap.Value = 0; numUDTap.Value = 0;
numUDTap.Enabled = cBTap.Checked; numUDTap.Enabled = cBTap.Checked;
cBDoubleTap.Enabled = cBTap.Checked;
} }
private void cBDoubleTap_CheckedChanged(object sender, EventArgs e) private void cBDoubleTap_CheckedChanged(object sender, EventArgs e)
@ -578,70 +551,53 @@ namespace ScpServer
lBControls.Items[14] = "R2 : " + bnR2.Text; lBControls.Items[14] = "R2 : " + bnR2.Text;
lBControls.Items[15] = "L3 : " + bnL3.Text; lBControls.Items[15] = "L3 : " + bnL3.Text;
lBControls.Items[16] = "R3 : " + bnR3.Text; lBControls.Items[16] = "R3 : " + bnR3.Text;
lBControls.Items[17] = "Left Stick : " + bnLSUp.Text + ", " + bnLSDown.Text + ", " + bnLSLeft.Text + ", " + bnLSRight.Text; lBControls.Items[17] = "Left Touch : " + bnTouchLeft.Text;
lBControls.Items[18] = "Right Stick : " + bnRSUp.Text + ", " + bnRSDown.Text + ", " + bnRSLeft.Text + ", " + bnRSRight.Text; lBControls.Items[18] = "Right Touch : " + bnTouchRight.Text;
lBControls.Items[19] = "Touchpad : " + bnTouchLeft.Text + ", " + bnTouchUpper.Text + ", " + bnTouchMulti.Text + ", " + bnTouchRight.Text; lBControls.Items[19] = "Multitouch : " + bnTouchMulti.Text;
lBAnalogSticks.Items[0] = lBControls.Items[15]; lBControls.Items[20] = "Upper Touch : " + bnTouchUpper.Text;
lBAnalogSticks.Items[1] = lBControls.Items[16]; lBControls.Items[21] = "LS Up : " + bnLSUp.Text;
lBAnalogSticks.Items[2] = "LS Up : " + bnLSUp.Text; lBControls.Items[22] = "LS Down : " + bnLSDown.Text;
lBAnalogSticks.Items[3] = "LS Down : " + bnLSDown.Text; lBControls.Items[23] = "LS Left : " + bnLSLeft.Text;
lBAnalogSticks.Items[4] = "LS Left :" + bnLSLeft.Text; lBControls.Items[24] = "LS Right : " + bnLSRight.Text;
lBAnalogSticks.Items[5] = "LS Right : " + bnLSRight.Text; lBControls.Items[25] = "RS Up : " + bnRSUp.Text;
lBAnalogSticks.Items[6] = "RS Up : " + bnRSUp.Text; lBControls.Items[26] = "RS Down : " + bnRSDown.Text;
lBAnalogSticks.Items[7] = "RS Down : " + bnRSDown.Text; lBControls.Items[27] = "RS Left : " + bnRSLeft.Text;
lBAnalogSticks.Items[8] = "RS Left : " + bnRSLeft.Text; lBControls.Items[28] = "RS Right : " + bnRSRight.Text;
lBAnalogSticks.Items[9] = "RS Right : " + bnRSRight.Text;
lBTouchControls.Items[0] = "Left Side : " + bnTouchLeft.Text;
lBTouchControls.Items[1] = "Upperpad : " + bnTouchUpper.Text;
lBTouchControls.Items[2] = "Multitouch : " + bnTouchMulti.Text;
lBTouchControls.Items[3] = "Right Side : " + bnTouchRight.Text;
} }
private void Show_ControlsList(object sender, EventArgs e) private void Show_ControlsList(object sender, EventArgs e)
{ {
if (tabOptions.SelectedTab == tabControls) if (lBControls.SelectedIndex == 0) Show_ControlsBn(bnCross, e);
{ if (lBControls.SelectedIndex == 1) Show_ControlsBn(bnCircle, e);
if (lBControls.SelectedIndex == 0) Show_ControlsBn(bnCross, e); if (lBControls.SelectedIndex == 2) Show_ControlsBn(bnSquare, e);
if (lBControls.SelectedIndex == 1) Show_ControlsBn(bnCircle, e); if (lBControls.SelectedIndex == 3) Show_ControlsBn(bnTriangle, e);
if (lBControls.SelectedIndex == 2) Show_ControlsBn(bnSquare, e); if (lBControls.SelectedIndex == 4) Show_ControlsBn(bnOptions, e);
if (lBControls.SelectedIndex == 3) Show_ControlsBn(bnTriangle, e); if (lBControls.SelectedIndex == 5) Show_ControlsBn(bnShare, e);
if (lBControls.SelectedIndex == 4) Show_ControlsBn(bnOptions, e); if (lBControls.SelectedIndex == 6) Show_ControlsBn(bnUp, e);
if (lBControls.SelectedIndex == 5) Show_ControlsBn(bnShare, e); if (lBControls.SelectedIndex == 7) Show_ControlsBn(bnDown, e);
if (lBControls.SelectedIndex == 6) Show_ControlsBn(bnUp, e); if (lBControls.SelectedIndex == 8) Show_ControlsBn(bnLeft, e);
if (lBControls.SelectedIndex == 7) Show_ControlsBn(bnDown, e); if (lBControls.SelectedIndex == 9) Show_ControlsBn(bnRight, e);
if (lBControls.SelectedIndex == 8) Show_ControlsBn(bnLeft, e); if (lBControls.SelectedIndex == 10) Show_ControlsBn(bnPS, e);
if (lBControls.SelectedIndex == 9) Show_ControlsBn(bnRight, e); if (lBControls.SelectedIndex == 11) Show_ControlsBn(bnL1, e);
if (lBControls.SelectedIndex == 10) Show_ControlsBn(bnPS, e); if (lBControls.SelectedIndex == 12) Show_ControlsBn(bnR1, e);
if (lBControls.SelectedIndex == 11) Show_ControlsBn(bnL1, e); if (lBControls.SelectedIndex == 13) Show_ControlsBn(bnL2, e);
if (lBControls.SelectedIndex == 12) Show_ControlsBn(bnR1, e); if (lBControls.SelectedIndex == 14) Show_ControlsBn(bnR2, e);
if (lBControls.SelectedIndex == 13) Show_ControlsBn(bnL2, e); if (lBControls.SelectedIndex == 15) Show_ControlsBn(bnL3, e);
if (lBControls.SelectedIndex == 14) Show_ControlsBn(bnR2, e); if (lBControls.SelectedIndex == 16) Show_ControlsBn(bnR3, e);
if (lBControls.SelectedIndex == 15) Show_ControlsBn(bnL3, e);
if (lBControls.SelectedIndex == 16) Show_ControlsBn(bnR3, e); if (lBControls.SelectedIndex == 17) Show_ControlsBn(bnTouchLeft, e);
if (lBControls.SelectedIndex == 17) tabOptions.SelectTab(1); if (lBControls.SelectedIndex == 18) Show_ControlsBn(bnTouchRight, e);
if (lBControls.SelectedIndex == 18) tabOptions.SelectTab(1); if (lBControls.SelectedIndex == 19) Show_ControlsBn(bnTouchMulti, e);
if (lBControls.SelectedIndex == 19) tabOptions.SelectTab(2); if (lBControls.SelectedIndex == 20) Show_ControlsBn(bnTouchUpper, e);
}
else if (tabOptions.SelectedTab == tabAnalogSticks) if (lBControls.SelectedIndex == 21) Show_ControlsBn(bnLSUp, e);
{ if (lBControls.SelectedIndex == 22) Show_ControlsBn(bnLSDown, e);
if (lBAnalogSticks.SelectedIndex == 0) Show_ControlsBn(bnL3, e); if (lBControls.SelectedIndex == 23) Show_ControlsBn(bnLSLeft, e);
if (lBAnalogSticks.SelectedIndex == 1) Show_ControlsBn(bnR3, e); if (lBControls.SelectedIndex == 24) Show_ControlsBn(bnLSRight, e);
if (lBAnalogSticks.SelectedIndex == 2) Show_ControlsBn(bnLSUp, e); if (lBControls.SelectedIndex == 25) Show_ControlsBn(bnRSUp, e);
if (lBAnalogSticks.SelectedIndex == 3) Show_ControlsBn(bnLSDown, e); if (lBControls.SelectedIndex == 26) Show_ControlsBn(bnRSDown, e);
if (lBAnalogSticks.SelectedIndex == 4) Show_ControlsBn(bnLSLeft, e); if (lBControls.SelectedIndex == 27) Show_ControlsBn(bnRSLeft, e);
if (lBAnalogSticks.SelectedIndex == 5) Show_ControlsBn(bnLSRight, e); if (lBControls.SelectedIndex == 28) Show_ControlsBn(bnRSRight, e);
if (lBAnalogSticks.SelectedIndex == 6) Show_ControlsBn(bnRSUp, e);
if (lBAnalogSticks.SelectedIndex == 7) Show_ControlsBn(bnRSDown, e);
if (lBAnalogSticks.SelectedIndex == 8) Show_ControlsBn(bnRSLeft, e);
if (lBAnalogSticks.SelectedIndex == 9) Show_ControlsBn(bnRSRight, e);
}
else if (tabOptions.SelectedTab == tabTouchPad)
{
if (lBTouchControls.SelectedIndex == 0) Show_ControlsBn(bnTouchLeft, e);
if (lBTouchControls.SelectedIndex == 1) Show_ControlsBn(bnTouchUpper, e);
if (lBTouchControls.SelectedIndex == 2) Show_ControlsBn(bnTouchMulti, e);
if (lBTouchControls.SelectedIndex == 3) Show_ControlsBn(bnTouchRight, e);
}
} }
private void List_MouseDoubleClick(object sender, MouseEventArgs e) private void List_MouseDoubleClick(object sender, MouseEventArgs e)
@ -672,7 +628,7 @@ namespace ScpServer
} }
} }
private void pictureBox2_Click(object sender, EventArgs e) private void pbRainbow_Click(object sender, EventArgs e)
{ {
if (pBRainbow.Image == greyscale) if (pBRainbow.Image == greyscale)
{ {
@ -693,19 +649,19 @@ namespace ScpServer
numUDRainbow.Visible = on; numUDRainbow.Visible = on;
if (on) if (on)
{ {
pBRainbow.Location = new Point(137, 139); pBRainbow.Location = new Point(207 - 78, pBRainbow.Location.Y);
pBController.BackgroundImage = Properties.Resources.rainbowC; pBController.BackgroundImage = Properties.Resources.rainbowC;
batteryLed.Text = "Battery Level Dim"; batteryLed.Text = "Battery Level Dim";
} }
else else
{ {
pBRainbow.Location = new Point(215, 139); pBRainbow.Location = new Point(207, pBRainbow.Location.Y);
pBController.BackgroundImage = null; pBController.BackgroundImage = null;
batteryLed.Text = "Battery Level Color"; batteryLed.Text = "Battery Level Color";
} }
lBspc.Visible = on; lBspc.Visible = on;
fullLedPanel.Enabled = !on; LightbarPanel.Enabled = !on;
lowLedPanel.Enabled = !on; lowBatteryPanel.Enabled = !on;
flashLed.Enabled = !on; flashLed.Enabled = !on;
} }
@ -741,5 +697,63 @@ namespace ScpServer
{ {
} }
private void leftMotorLabel_Click(object sender, EventArgs e)
{
}
private void rightMotorLabel_Click(object sender, EventArgs e)
{
}
private void rumbleBoostLabel_Click(object sender, EventArgs e)
{
}
private void Options_Resize(object sender, EventArgs e)
{
}
private void greenBar_Scroll(object sender, EventArgs e)
{
}
private void flashLed_CheckedChanged(object sender, EventArgs e)
{
}
Image L = Properties.Resources.LeftTouch;
Image R = Properties.Resources.RightTouch;
Image M = Properties.Resources.MultiTouch;
Image U = Properties.Resources.UpperTouch;
private void bnTouchLeft_MouseHover(object sender, EventArgs e)
{
pBController.Image = L; }
private void bnTouchMulti_MouseHover(object sender, EventArgs e)
{
pBController.Image = M;
}
private void bnTouchRight_MouseHover(object sender, EventArgs e)
{
pBController.Image = R;
}
private void bnTouchUpper_MouseHover(object sender, EventArgs e)
{
pBController.Image = U;
}
private void Toucpad_Leave(object sender, EventArgs e)
{
pBController.Image = Properties.Resources.DS4_Controller;
}
} }
} }

View File

@ -117,6 +117,464 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pBController.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAPUAAACECAYAAABIz20BAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE
sRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cGSwGQyhPwgzyc6RGRUXTs
AIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6WLwCcNPQM4BOB/+fpFnpfIHomAARm7M5GSwRF4g4
JUuQLrbPipgalyxmGCVmvih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cy/6Kd30WcQknGu
6XNOlxVNuaOAcCWxuNPKB0lLes5jvoQgHr3nnYxUncqh36QGTz31Jbd79778zaUqlQIVhahGdI4xCEdG
5XIyF8k84lj+BvYw/vrBdI95NnpphKxWnzmG6bJAPIDM/KXSj3/8k2RdKmFApDbwP0t86MwqX6nS1YA8
jNhsf3vssY8lyx7GMF4I8D9d/F+VETClw/2F5cXnuvnPs4GS2TAoUhvuv/8Bd+C0Q7qIFo5SVDi1ihcD
AtuIxjVzd961TZU1jGEcC3jPe+7Tj/wNhNxhGj5s8LIrr3ZPPDF0X3cZElIbvvWtb+nNXnbZS93GjVv0
22c8S+aYAnHg+BM2uksvvUy3vD333HPJvIcxjGMRLGDdcMNr3b6TT3G9ZXTdwHZmvoRz11vvds8++6x+
zy2V78Dx3+7/BxnFzFZEv6AVAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="advColorDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="advColorDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>

View File

@ -129,15 +129,9 @@
<value>Stop</value> <value>Stop</value>
<comment>To be localized.</comment> <comment>To be localized.</comment>
</data> </data>
<data name="sticks2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sticks2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="_360_fades" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="_360_fades" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\360 fades.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\360 fades.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="DS4_Controller" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\DS4 Controller.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Touch_states2" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Touch_states2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Touch states2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\Touch states2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
@ -150,4 +144,28 @@
<data name="rainbowC" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="rainbowC" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\rainbowC.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\rainbowC.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="DS4_Controller" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\DS4 Controller.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LeftTouch" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\LeftTouch.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="MultiTouch" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\MultiTouch.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="RightTouch" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\RightTouch.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sticks" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sticks.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sticks2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sticks2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Touch" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Touch.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="UpperTouch" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\UpperTouch.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root> </root>

View File

@ -90,6 +90,16 @@ namespace ScpServer.Properties {
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap LeftTouch {
get {
object obj = ResourceManager.GetObject("LeftTouch", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
@ -100,6 +110,16 @@ namespace ScpServer.Properties {
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap MultiTouch {
get {
object obj = ResourceManager.GetObject("MultiTouch", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
@ -120,6 +140,16 @@ namespace ScpServer.Properties {
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap RightTouch {
get {
object obj = ResourceManager.GetObject("RightTouch", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Start. /// Looks up a localized string similar to Start.
/// </summary> /// </summary>
@ -129,6 +159,16 @@ namespace ScpServer.Properties {
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap sticks {
get {
object obj = ResourceManager.GetObject("sticks", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
@ -148,6 +188,16 @@ namespace ScpServer.Properties {
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap Touch {
get {
object obj = ResourceManager.GetObject("Touch", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
@ -157,5 +207,15 @@ namespace ScpServer.Properties {
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap UpperTouch {
get {
object obj = ResourceManager.GetObject("UpperTouch", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
DS4Tool/Resources/Touch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -69,12 +69,12 @@
this.lbLastMessage = new System.Windows.Forms.Label(); this.lbLastMessage = new System.Windows.Forms.Label();
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
this.cMTaskbar = new System.Windows.Forms.ContextMenuStrip(this.components); this.cMTaskbar = new System.Windows.Forms.ContextMenuStrip(this.components);
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.editProfileForController1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editProfileForController1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.editProfileForController2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editProfileForController2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.editProfileForController3ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editProfileForController3ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.editProfileForController4ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editProfileForController4ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.pnlButton.SuspendLayout(); this.pnlButton.SuspendLayout();
@ -456,7 +456,6 @@
// cBController4 // cBController4
// //
this.cBController4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cBController4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cBController4.Enabled = false;
this.cBController4.FormattingEnabled = true; this.cBController4.FormattingEnabled = true;
this.cBController4.Location = new System.Drawing.Point(571, 84); this.cBController4.Location = new System.Drawing.Point(571, 84);
this.cBController4.Name = "cBController4"; this.cBController4.Name = "cBController4";
@ -468,7 +467,6 @@
// cBController3 // cBController3
// //
this.cBController3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cBController3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cBController3.Enabled = false;
this.cBController3.FormattingEnabled = true; this.cBController3.FormattingEnabled = true;
this.cBController3.Location = new System.Drawing.Point(571, 61); this.cBController3.Location = new System.Drawing.Point(571, 61);
this.cBController3.Name = "cBController3"; this.cBController3.Name = "cBController3";
@ -480,7 +478,6 @@
// cBController2 // cBController2
// //
this.cBController2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cBController2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cBController2.Enabled = false;
this.cBController2.FormattingEnabled = true; this.cBController2.FormattingEnabled = true;
this.cBController2.Location = new System.Drawing.Point(571, 38); this.cBController2.Location = new System.Drawing.Point(571, 38);
this.cBController2.Name = "cBController2"; this.cBController2.Name = "cBController2";
@ -492,7 +489,6 @@
// cBController1 // cBController1
// //
this.cBController1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cBController1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cBController1.Enabled = false;
this.cBController1.FormattingEnabled = true; this.cBController1.FormattingEnabled = true;
this.cBController1.Location = new System.Drawing.Point(571, 15); this.cBController1.Location = new System.Drawing.Point(571, 15);
this.cBController1.Name = "cBController1"; this.cBController1.Name = "cBController1";
@ -532,21 +528,9 @@
this.openToolStripMenuItem, this.openToolStripMenuItem,
this.exitToolStripMenuItem}); this.exitToolStripMenuItem});
this.cMTaskbar.Name = "cMTaskbar"; this.cMTaskbar.Name = "cMTaskbar";
this.cMTaskbar.Size = new System.Drawing.Size(215, 164); this.cMTaskbar.Size = new System.Drawing.Size(215, 142);
this.cMTaskbar.Tag = "25"; this.cMTaskbar.Tag = "25";
// //
// openToolStripMenuItem
//
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
this.openToolStripMenuItem.Size = new System.Drawing.Size(214, 22);
this.openToolStripMenuItem.Text = "Open";
this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(211, 6);
//
// editProfileForController1ToolStripMenuItem // editProfileForController1ToolStripMenuItem
// //
this.editProfileForController1ToolStripMenuItem.Name = "editProfileForController1ToolStripMenuItem"; this.editProfileForController1ToolStripMenuItem.Name = "editProfileForController1ToolStripMenuItem";
@ -579,6 +563,18 @@
this.editProfileForController4ToolStripMenuItem.Text = "Edit Profile for Controller 4"; this.editProfileForController4ToolStripMenuItem.Text = "Edit Profile for Controller 4";
this.editProfileForController4ToolStripMenuItem.Click += new System.EventHandler(this.editMenu_Click); this.editProfileForController4ToolStripMenuItem.Click += new System.EventHandler(this.editMenu_Click);
// //
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(211, 6);
//
// openToolStripMenuItem
//
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
this.openToolStripMenuItem.Size = new System.Drawing.Size(214, 22);
this.openToolStripMenuItem.Text = "Open";
this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
//
// exitToolStripMenuItem // exitToolStripMenuItem
// //
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";

View File

@ -295,58 +295,37 @@ namespace ScpServer
} }
private Options[] OptionsDialog = { null, null, null, null }; private Options[] OptionsDialog = { null, null, null, null };
private void ShowOptions(int devID, string profile)
{
if (OptionsDialog[devID] == null)
{
Options opt;
opt = OptionsDialog[devID] = new Options(rootHub, devID, profile);
opt.Text = "Options for Controller " + (devID + 1);
opt.Icon = this.Icon;
opt.FormClosed += delegate { OptionsDialog[devID] = null; RefreshProfiles(); };
opt.Show();
}
}
private void editButtons_Click(object sender, EventArgs e) private void editButtons_Click(object sender, EventArgs e)
{ {
Button bn = (Button)sender; Button bn = (Button)sender;
int i = Int32.Parse(bn.Tag.ToString()); int i = Int32.Parse(bn.Tag.ToString());
if (OptionsDialog[i] == null)
{
Options opt;
if (cbs[i].Text == "(No Profile Found)") if (cbs[i].Text == "(No Profile Found)")
opt = OptionsDialog[i] = new Options(rootHub, i, "", this); ShowOptions(i, "");
else else
opt = OptionsDialog[i] = new Options(rootHub, i, cbs[i].Text, this); ShowOptions(i, cbs[i].Text);
opt.Text = "Options for Controller " + (i + 1);
opt.Icon = this.Icon;
opt.FormClosed += delegate
{
OptionsDialog[i] = null;
};
opt.Show();
}
} }
private void editMenu_Click(object sender, EventArgs e) private void editMenu_Click(object sender, EventArgs e)
{ {
ToolStripMenuItem em = (ToolStripMenuItem)sender; ToolStripMenuItem em = (ToolStripMenuItem)sender;
int i = Int32.Parse(em.Tag.ToString()); int i = Int32.Parse(em.Tag.ToString());
if (OptionsDialog[i] == null)
{
if (em.Text == "Make Profile for Controller " + (i + 1)) if (em.Text == "Make Profile for Controller " + (i + 1))
{ ShowOptions(i, "");
Options opt = OptionsDialog[i] = new Options(rootHub, i, "", this);
opt.Text = "Options for Controller " + (i + 1);
opt.Icon = this.Icon;
opt.FormClosed += delegate
{
OptionsDialog[i] = null;
};
opt.Show();
}
else else
foreach (ToolStripMenuItem t in em.DropDownItems) for (int t=0; t < em.DropDownItems.Count-2; t++)
if (((ToolStripMenuItem)t).Checked) if (((ToolStripMenuItem)em.DropDownItems[t]).Checked)
{ ShowOptions(i, ((ToolStripMenuItem)em.DropDownItems[t]).Text);
Options opt = OptionsDialog[i] = new Options(rootHub, i, ((ToolStripMenuItem)t).Text, this);
opt.Text = "Options for Controller " + (i + 1);
opt.Icon = this.Icon;
opt.FormClosed += delegate
{
OptionsDialog[i] = null;
};
opt.Show();
break;
}
}
} }
private void Enable_Controls(int device, bool on) private void Enable_Controls(int device, bool on)
{ {
@ -430,20 +409,7 @@ namespace ScpServer
Global.LoadProfile(tdevice); Global.LoadProfile(tdevice);
} }
else if (cb.SelectedIndex == cb.Items.Count - 1 && cb.Items.Count > 1) //if +New Profile selected else if (cb.SelectedIndex == cb.Items.Count - 1 && cb.Items.Count > 1) //if +New Profile selected
{ ShowOptions(tdevice, "");
if (OptionsDialog[tdevice] == null)
{
Options opt = OptionsDialog[tdevice] = new Options(rootHub, tdevice, "", this);
opt.Text = "Options for Controller " + (tdevice + 1);
opt.Icon = this.Icon;
int i = tdevice;
opt.FormClosed += delegate
{
OptionsDialog[i] = null;
};
opt.Show();
}
}
if (cb.Text == "(No Profile Found)") if (cb.Text == "(No Profile Found)")
ebns[tdevice].Text = "New"; ebns[tdevice].Text = "New";
else else
@ -457,18 +423,8 @@ namespace ScpServer
int tdevice = Int32.Parse(tS.Tag.ToString()); int tdevice = Int32.Parse(tS.Tag.ToString());
if (!(e.ClickedItem is ToolStripSeparator)) if (!(e.ClickedItem is ToolStripSeparator))
if (e.ClickedItem != tS.DropDownItems[tS.DropDownItems.Count - 1]) //if +New Profile not selected if (e.ClickedItem != tS.DropDownItems[tS.DropDownItems.Count - 1]) //if +New Profile not selected
if (((ToolStripMenuItem)e.ClickedItem).Checked && OptionsDialog[tdevice] == null) if (((ToolStripMenuItem)e.ClickedItem).Checked)
{ ShowOptions(tdevice, e.ClickedItem.Text);
Options opt = OptionsDialog[tdevice] = new Options(rootHub, tdevice, e.ClickedItem.Text, this);
opt.Text = "Options for Controller " + (tdevice + 1);
opt.Icon = this.Icon;
int i = tdevice;
opt.FormClosed += delegate
{
OptionsDialog[i] = null;
};
opt.Show();
}
else else
{ {
for (int i = 0; i < tS.DropDownItems.Count; i++) for (int i = 0; i < tS.DropDownItems.Count; i++)
@ -481,18 +437,8 @@ namespace ScpServer
Global.Save(); Global.Save();
Global.LoadProfile(tdevice); Global.LoadProfile(tdevice);
} }
else if (OptionsDialog[tdevice] == null) //if +New Profile selected else //if +New Profile selected
{ ShowOptions(tdevice, "");
Options opt = OptionsDialog[tdevice] = new Options(rootHub, tdevice, "", this);
opt.Text = "Options for Controller " + (tdevice + 1);
opt.Icon = this.Icon;
int i = tdevice;
opt.FormClosed += delegate
{
OptionsDialog[i] = null;
};
opt.Show();
}
} }
private void exitToolStripMenuItem_Click(object sender, EventArgs e) private void exitToolStripMenuItem_Click(object sender, EventArgs e)