diff --git a/DS4Control/Control.cs b/DS4Control/Control.cs index 0daec73..f2a28eb 100644 --- a/DS4Control/Control.cs +++ b/DS4Control/Control.cs @@ -414,6 +414,10 @@ namespace DS4Control Mapping.MapCustom(ind, cState, MappedState[ind], ExposedState[ind], touchPad[ind]); cState = MappedState[ind]; } + if (Global.getHasCustomExtras(ind)) + { + DoExtras(ind); + } // Update the GUI/whatever. DS4LightBar.updateLightBar(device, ind, cState, ExposedState[ind], touchPad[ind]); @@ -438,6 +442,65 @@ namespace DS4Control device.IdleTimeout = Global.getIdleDisconnectTimeout(ind); } } + bool[] held = new bool[4]; + int[] oldmouse = new int[4] {-1,-1,-1,-1}; + private void DoExtras(int ind) + { + DS4State cState = CurrentState[ind]; + DS4StateExposed eState = ExposedState[ind]; + Mouse tp = touchPad[ind]; + DS4Controls helddown = DS4Controls.None; + foreach (KeyValuePair p in Global.getCustomExtras(ind)) + { + if (Mapping.getBoolMapping(p.Key, cState, eState, tp)) + { + helddown = p.Key; + break; + } + } + if (helddown != DS4Controls.None) + { + string p = Global.getCustomExtras(ind)[helddown]; + string[] extraS = p.Split(','); + int[] extras = new int[extraS.Length]; + for (int i = 0; i < extraS.Length; i++) + { + int b; + if (int.TryParse(extraS[i], out b)) + extras[i] = b; + } + held[ind] = true; + try + { + if (!(extras[0] == extras[1] && extras[1] == 0)) + setRumble((byte)extras[0], (byte)extras[1], ind); + if (extras[2] == 1) + { + DS4Color color = new DS4Color { red = (byte)extras[3], green = (byte)extras[4], blue = (byte)extras[5] }; + DS4LightBar.forcedColor[ind] = color; + DS4LightBar.forcedFlash[ind] = (byte)extras[6]; + DS4LightBar.forcelight[ind] = true; + } + if (extras[7] == 1) + { + if (oldmouse[ind] == -1) + oldmouse[ind] = Global.getButtonMouseSensitivity(ind); + Global.setButtonMouseSensitivity(ind, extras[8]); + } + } + catch { } + } + else if (held[ind]) + { + DS4LightBar.forcelight[ind] = false; + DS4LightBar.forcedFlash[ind] = 0; + //Console.WriteLine(p.Key + " is done"); + Global.setButtonMouseSensitivity(ind, oldmouse[ind]); + oldmouse[ind] = -1; + setRumble(0, 0, ind); + held[ind] = false; + } + } public string GetInputkeys(int ind) { diff --git a/DS4Control/DS4LightBar.cs b/DS4Control/DS4LightBar.cs index f56bdf9..7092079 100644 --- a/DS4Control/DS4LightBar.cs +++ b/DS4Control/DS4LightBar.cs @@ -25,10 +25,13 @@ namespace DS4Control public static double[] fadetimer = new double[4] { 0, 0, 0, 0 }; static bool[] fadedirection = new bool[4] { false, false, false, false }; static DateTime oldnow = DateTime.UtcNow; + public static bool[] forcelight = new bool[4] { false, false, false, false }; + public static DS4Color[] forcedColor = new DS4Color[4]; + public static byte[] forcedFlash = new byte[4]; public static void updateLightBar(DS4Device device, int deviceNum, DS4State cState, DS4StateExposed eState, Mouse tp) { DS4Color color; - if (!defualtLight) + if (!defualtLight && !forcelight[deviceNum]) { if (Global.getShiftColorOn(deviceNum) && Global.getShiftModifier(deviceNum) > 0 && shiftMod(device, deviceNum, cState, eState, tp)) { @@ -128,6 +131,10 @@ namespace DS4Control } } } + else if (forcelight[deviceNum]) + { + color = forcedColor[deviceNum]; + } else if (shuttingdown) color = new DS4Color { red = 0, green = 0, blue = 0 }; else @@ -153,7 +160,12 @@ namespace DS4Control }; if (haptics.IsLightBarSet()) { - if (device.Battery <= Global.getFlashAt(deviceNum) && !defualtLight && !device.Charging) + if (forcelight[deviceNum] && forcedFlash[deviceNum] > 0) + { + haptics.LightBarFlashDurationOff = haptics.LightBarFlashDurationOn = (byte)(25 - forcedFlash[deviceNum]); + haptics.LightBarExplicitlyOff = true; + } + else if (device.Battery <= Global.getFlashAt(deviceNum) && !defualtLight && !device.Charging) { int level = device.Battery / 10; //if (level >= 10) @@ -183,6 +195,7 @@ namespace DS4Control System.Threading.Thread.Sleep(5); device.pushHapticState(haptics); } + public static bool defualtLight = false, shuttingdown = false; public static bool shiftMod(DS4Device device, int deviceNum, DS4State cState, DS4StateExposed eState, Mouse tp) diff --git a/DS4Control/Mapping.cs b/DS4Control/Mapping.cs index 66f18b7..0825c33 100644 --- a/DS4Control/Mapping.cs +++ b/DS4Control/Mapping.cs @@ -176,30 +176,35 @@ namespace DS4Control if (gkp.current.toggleCount != 0 && gkp.previous.toggleCount == 0 && gkp.current.toggle) { if (gkp.current.scanCodeCount != 0) - InputMethods.performSCKeyPress(kvp.Key); + InputMethods.PressKeys(kvp.Key); + //InputMethods.performSCKeyPress(kvp.Key); else - InputMethods.performKeyPress(kvp.Key); + InputMethods.PressKeys(kvp.Key); + // InputMethods.performKeyPress(kvp.Key); } else if (gkp.current.toggleCount != 0 && gkp.previous.toggleCount == 0 && !gkp.current.toggle) { if (gkp.previous.scanCodeCount != 0) // use the last type of VK/SC InputMethods.performSCKeyRelease(kvp.Key); else - InputMethods.performKeyRelease(kvp.Key); + InputMethods.ReleaseKeys(kvp.Key); + //InputMethods.performKeyRelease(kvp.Key); } else if (gkp.current.vkCount + gkp.current.scanCodeCount != 0 && gkp.previous.vkCount + gkp.previous.scanCodeCount == 0) { if (gkp.current.scanCodeCount != 0) { oldnow = DateTime.UtcNow; - InputMethods.performSCKeyPress(kvp.Key); + InputMethods.PressKeys(kvp.Key); + //InputMethods.performSCKeyPress(kvp.Key); pressagain = false; keyshelddown = kvp.Key; } else { oldnow = DateTime.UtcNow; - InputMethods.performKeyPress(kvp.Key); + InputMethods.PressKeys(kvp.Key); + //InputMethods.performKeyPress(kvp.Key); pressagain = false; keyshelddown = kvp.Key; } @@ -221,7 +226,8 @@ namespace DS4Control if (now >= oldnow + TimeSpan.FromMilliseconds(25) && pressagain) { oldnow = now; - InputMethods.performSCKeyPress(kvp.Key); + //InputMethods.performSCKeyPress(kvp.Key); + InputMethods.PressKeys(kvp.Key); } } else if (pressagain) @@ -230,7 +236,8 @@ namespace DS4Control if (now >= oldnow + TimeSpan.FromMilliseconds(25) && pressagain) { oldnow = now; - InputMethods.performKeyPress(kvp.Key); + InputMethods.PressKeys(kvp.Key); + //InputMethods.performKeyPress(kvp.Key); } } } @@ -245,7 +252,8 @@ namespace DS4Control } else { - InputMethods.performKeyRelease(kvp.Key); + InputMethods.ReleaseKeys(kvp.Key); + //InputMethods.performKeyRelease(kvp.Key); pressagain = false; } } diff --git a/DS4Control/ScpUtil.cs b/DS4Control/ScpUtil.cs index bc1b551..8131afe 100644 --- a/DS4Control/ScpUtil.cs +++ b/DS4Control/ScpUtil.cs @@ -559,6 +559,10 @@ namespace DS4Control { return m_Config.GetCustomMacro(device, controlName); } + public static string getCustomExtras(int device, DS4Controls controlName) + { + return m_Config.GetCustomExtras(device, controlName); + } public static DS4KeyType getCustomKeyType(int device, DS4Controls controlName) { return m_Config.GetCustomKeyType(device, controlName); @@ -568,6 +572,10 @@ namespace DS4Control return m_Config.customMapButtons[device].Count > 0 || m_Config.customMapKeys[device].Count > 0; } + public static bool getHasCustomExtras(int device) + { + return m_Config.customMapExtras[device].Count > 0; + } public static Dictionary getCustomButtons(int device) { return m_Config.customMapButtons[device]; @@ -580,6 +588,10 @@ namespace DS4Control { return m_Config.customMapMacros[device]; } + public static Dictionary getCustomExtras(int device) + { + return m_Config.customMapExtras[device]; + } public static Dictionary getCustomKeyTypes(int device) { return m_Config.customMapKeyTypes[device]; @@ -597,6 +609,10 @@ namespace DS4Control { return m_Config.GetShiftCustomMacro(device, controlName); } + public static string getShiftCustomExtras(int device, DS4Controls controlName) + { + return m_Config.GetShiftCustomExtras(device, controlName); + } public static DS4KeyType getShiftCustomKeyType(int device, DS4Controls controlName) { return m_Config.GetShiftCustomKeyType(device, controlName); @@ -606,6 +622,10 @@ namespace DS4Control return m_Config.shiftCustomMapButtons[device].Count > 0 || m_Config.shiftCustomMapKeys[device].Count > 0; } + public static bool getHasShiftCustomExtras(int device) + { + return m_Config.shiftCustomMapExtras[device].Count > 0; + } public static Dictionary getShiftCustomButtons(int device) { return m_Config.shiftCustomMapButtons[device]; @@ -618,6 +638,10 @@ namespace DS4Control { return m_Config.shiftCustomMapMacros[device]; } + public static Dictionary getShiftCustomExtras(int device) + { + return m_Config.shiftCustomMapExtras[device]; + } public static Dictionary getShiftCustomKeyTypes(int device) { return m_Config.shiftCustomMapKeyTypes[device]; @@ -813,11 +837,13 @@ namespace DS4Control public Dictionary[] customMapKeys = { null, null, null, null, null }; public Dictionary[] customMapMacros = { null, null, null, null, null }; public Dictionary[] customMapButtons = { null, null, null, null, null }; + public Dictionary[] customMapExtras = { null, null, null, null, null }; public Dictionary[] shiftCustomMapKeyTypes = { null, null, null, null, null }; public Dictionary[] shiftCustomMapKeys = { null, null, null, null, null }; public Dictionary[] shiftCustomMapMacros = { null, null, null, null, null }; public Dictionary[] shiftCustomMapButtons = { null, null, null, null, null }; + public Dictionary[] shiftCustomMapExtras = { null, null, null, null, null }; public BackingStore() { @@ -827,11 +853,13 @@ namespace DS4Control customMapKeys[i] = new Dictionary(); customMapMacros[i] = new Dictionary(); customMapButtons[i] = new Dictionary(); + customMapExtras[i] = new Dictionary(); shiftCustomMapKeyTypes[i] = new Dictionary(); shiftCustomMapKeys[i] = new Dictionary(); shiftCustomMapMacros[i] = new Dictionary(); shiftCustomMapButtons[i] = new Dictionary(); + shiftCustomMapExtras[i] = new Dictionary(); } } @@ -853,6 +881,12 @@ namespace DS4Control return customMapMacros[device][controlName]; else return "0"; } + public string GetCustomExtras(int device, DS4Controls controlName) + { + if (customMapExtras[device].ContainsKey(controlName)) + return customMapExtras[device][controlName]; + else return "0"; + } public DS4KeyType GetCustomKeyType(int device, DS4Controls controlName) { try @@ -882,6 +916,12 @@ namespace DS4Control return shiftCustomMapMacros[device][controlName]; else return "0"; } + public string GetShiftCustomExtras(int device, DS4Controls controlName) + { + if (customMapExtras[device].ContainsKey(controlName)) + return customMapExtras[device][controlName]; + else return "0"; + } public DS4KeyType GetShiftCustomKeyType(int device, DS4Controls controlName) { try @@ -964,6 +1004,7 @@ namespace DS4Control XmlNode Macro = m_Xdoc.CreateNode(XmlNodeType.Element, "Macro", null); XmlNode KeyType = m_Xdoc.CreateNode(XmlNodeType.Element, "KeyType", null); XmlNode Button = m_Xdoc.CreateNode(XmlNodeType.Element, "Button", null); + XmlNode Extras = m_Xdoc.CreateNode(XmlNodeType.Element, "Extras", null); if (buttons != null) { foreach (var button in buttons) @@ -973,36 +1014,68 @@ namespace DS4Control { XmlNode buttonNode; string keyType = String.Empty; - if (button.Tag is String && (String)button.Tag == "Unbound") - { - keyType += DS4KeyType.Unbound; - } - { - if (button.Font.Strikeout) - keyType += DS4KeyType.HoldMacro; - if (button.Font.Underline) - keyType += DS4KeyType.Macro; - if (button.Font.Italic) - keyType += DS4KeyType.Toggle; - if (button.Font.Bold) - keyType += DS4KeyType.ScanCode; - } + + if (button.Tag is KeyValuePair) + if (((KeyValuePair)button.Tag).Key == "Unbound") + keyType += DS4KeyType.Unbound; + + if (button.Font.Strikeout) + keyType += DS4KeyType.HoldMacro; + if (button.Font.Underline) + keyType += DS4KeyType.Macro; + if (button.Font.Italic) + keyType += DS4KeyType.Toggle; + if (button.Font.Bold) + keyType += DS4KeyType.ScanCode; if (keyType != String.Empty) { buttonNode = m_Xdoc.CreateNode(XmlNodeType.Element, button.Name, null); buttonNode.InnerText = keyType; KeyType.AppendChild(buttonNode); } + + string[] extras; buttonNode = m_Xdoc.CreateNode(XmlNodeType.Element, button.Name, null); - buttonNode.InnerText = button.Tag.ToString(); - if (button.Tag is IEnumerable || button.Tag is Int32[] || button.Tag is UInt16[]) + if (button.Tag is KeyValuePair, string> || button.Tag is KeyValuePair || button.Tag is KeyValuePair) { - buttonNode.InnerText = string.Join("/", (int[])button.Tag); + KeyValuePair tag = (KeyValuePair)button.Tag; + int[] ii = tag.Key; + buttonNode.InnerText = string.Join("/", ii); Macro.AppendChild(buttonNode); + extras = tag.Value.Split(','); } - else if (button.Tag is Int32 || button.Tag is UInt16) + else if (button.Tag is KeyValuePair || button.Tag is KeyValuePair || button.Tag is KeyValuePair) + { + KeyValuePair tag = (KeyValuePair)button.Tag; + buttonNode.InnerText = tag.Key.ToString(); Key.AppendChild(buttonNode); - else Button.AppendChild(buttonNode); + extras = tag.Value.Split(','); + } + else if (button.Tag is KeyValuePair) + { + KeyValuePair tag = (KeyValuePair)button.Tag; + buttonNode.InnerText = tag.Key; + Button.AppendChild(buttonNode); + extras = tag.Value.Split(','); + } + else + { + KeyValuePair tag = (KeyValuePair)button.Tag; + extras = tag.Value.Split(','); + } + bool hasvalue = false; + foreach (string s in extras) + if (s != "0") + { + hasvalue = true; + break; + } + if (hasvalue) + { + XmlNode extraNode = m_Xdoc.CreateNode(XmlNodeType.Element, button.Name, null); + extraNode.InnerText = String.Join(",", extras); + Extras.AppendChild(extraNode); + } } } Node.AppendChild(NodeControl); @@ -1012,6 +1085,8 @@ namespace DS4Control NodeControl.AppendChild(Macro); if (Key.HasChildNodes) NodeControl.AppendChild(Key); + if (Extras.HasChildNodes) + NodeControl.AppendChild(Extras); if (KeyType.HasChildNodes) NodeControl.AppendChild(KeyType); } @@ -1025,6 +1100,7 @@ namespace DS4Control XmlNode ShiftMacro = m_Xdoc.CreateNode(XmlNodeType.Element, "Macro", null); XmlNode ShiftKeyType = m_Xdoc.CreateNode(XmlNodeType.Element, "KeyType", null); XmlNode ShiftButton = m_Xdoc.CreateNode(XmlNodeType.Element, "Button", null); + XmlNode ShiftExtras = m_Xdoc.CreateNode(XmlNodeType.Element, "Extras", null); if (shiftbuttons != null) { foreach (var button in shiftbuttons) @@ -1034,36 +1110,67 @@ namespace DS4Control { XmlNode buttonNode; string keyType = String.Empty; - if (button.Tag is String && (String)button.Tag == "Unbound") - { - keyType += DS4KeyType.Unbound; - } - { - if (button.Font.Strikeout) - keyType += DS4KeyType.HoldMacro; - if (button.Font.Underline) - keyType += DS4KeyType.Macro; - if (button.Font.Italic) - keyType += DS4KeyType.Toggle; - if (button.Font.Bold) - keyType += DS4KeyType.ScanCode; - } + if (button.Tag is KeyValuePair) + if (((KeyValuePair)button.Tag).Key == "Unbound") + keyType += DS4KeyType.Unbound; + + if (button.Font.Strikeout) + keyType += DS4KeyType.HoldMacro; + if (button.Font.Underline) + keyType += DS4KeyType.Macro; + if (button.Font.Italic) + keyType += DS4KeyType.Toggle; + if (button.Font.Bold) + keyType += DS4KeyType.ScanCode; if (keyType != String.Empty) { buttonNode = m_Xdoc.CreateNode(XmlNodeType.Element, button.Name, null); buttonNode.InnerText = keyType; ShiftKeyType.AppendChild(buttonNode); } + + string[] extras; buttonNode = m_Xdoc.CreateNode(XmlNodeType.Element, button.Name, null); - buttonNode.InnerText = button.Tag.ToString(); - if (button.Tag is IEnumerable || button.Tag is Int32[] || button.Tag is UInt16[]) + if (button.Tag is KeyValuePair, string> || button.Tag is KeyValuePair || button.Tag is KeyValuePair) { - buttonNode.InnerText = string.Join("/", (int[])button.Tag); + KeyValuePair tag = (KeyValuePair)button.Tag; + int[] ii = tag.Key; + buttonNode.InnerText = string.Join("/", ii); ShiftMacro.AppendChild(buttonNode); + extras = tag.Value.Split(','); } - else if (button.Tag is Int32 || button.Tag is UInt16) + else if (button.Tag is KeyValuePair || button.Tag is KeyValuePair || button.Tag is KeyValuePair) + { + KeyValuePair tag = (KeyValuePair)button.Tag; + buttonNode.InnerText = tag.Key.ToString(); ShiftKey.AppendChild(buttonNode); - else ShiftButton.AppendChild(buttonNode); + extras = tag.Value.Split(','); + } + else if (button.Tag is KeyValuePair) + { + KeyValuePair tag = (KeyValuePair)button.Tag; + buttonNode.InnerText = tag.Key; + ShiftButton.AppendChild(buttonNode); + extras = tag.Value.Split(','); + } + else + { + KeyValuePair tag = (KeyValuePair)button.Tag; + extras = tag.Value.Split(','); + } + bool hasvalue = false; + foreach (string s in extras) + if (s != "0") + { + hasvalue = true; + break; + } + if (hasvalue) + { + XmlNode extraNode = m_Xdoc.CreateNode(XmlNodeType.Element, button.Name, null); + extraNode.InnerText = String.Join(",", extras); + ShiftExtras.AppendChild(extraNode); + } } } Node.AppendChild(NodeShiftControl); @@ -1279,10 +1386,12 @@ namespace DS4Control Dictionary customMapKeys = new Dictionary(); Dictionary customMapButtons = new Dictionary(); Dictionary customMapMacros = new Dictionary(); + Dictionary customMapExtras = new Dictionary(); Dictionary shiftCustomMapKeyTypes = new Dictionary(); Dictionary shiftCustomMapKeys = new Dictionary(); Dictionary shiftCustomMapButtons = new Dictionary(); Dictionary shiftCustomMapMacros = new Dictionary(); + Dictionary shiftCustomMapExtras = new Dictionary(); string rootname = "DS4Windows"; Boolean missingSetting = false; string profilepath; @@ -1491,6 +1600,10 @@ namespace DS4Control foreach (XmlNode item in ParentItem.ChildNodes) if (UInt16.TryParse(item.InnerText, out wvk)) customMapKeys.Add(getDS4ControlsByName(item.Name), wvk); + ParentItem = m_Xdoc.SelectSingleNode("/" + rootname + "/Control/Extras"); + if (ParentItem != null) + foreach (XmlNode item in ParentItem.ChildNodes) + customMapExtras.Add(getDS4ControlsByName(item.Name), item.InnerText); ParentItem = m_Xdoc.SelectSingleNode("/" + rootname + "/Control/KeyType"); if (ParentItem != null) foreach (XmlNode item in ParentItem.ChildNodes) @@ -1525,6 +1638,10 @@ namespace DS4Control foreach (XmlNode item in ParentItem.ChildNodes) if (UInt16.TryParse(item.InnerText, out wvk)) shiftCustomMapKeys.Add(getDS4ControlsByName(item.Name), wvk); + ParentItem = m_Xdoc.SelectSingleNode("/" + rootname + "/ShiftControl/Extras"); + if (ParentItem != null) + foreach (XmlNode item in ParentItem.ChildNodes) + shiftCustomMapExtras.Add(getDS4ControlsByName(item.Name), item.InnerText); ParentItem = m_Xdoc.SelectSingleNode("/" + rootname + "/ShiftControl/KeyType"); if (ParentItem != null) foreach (XmlNode item in ParentItem.ChildNodes) @@ -1548,8 +1665,8 @@ namespace DS4Control } else { - LoadButtons(buttons, "Control", customMapKeyTypes, customMapKeys, customMapButtons, customMapMacros); - LoadButtons(shiftbuttons, "ShiftControl", shiftCustomMapKeyTypes, shiftCustomMapKeys, shiftCustomMapButtons, shiftCustomMapMacros); + LoadButtons(buttons, "Control", customMapKeyTypes, customMapKeys, customMapButtons, customMapMacros, customMapExtras); + LoadButtons(shiftbuttons, "ShiftControl", shiftCustomMapKeyTypes, shiftCustomMapKeys, shiftCustomMapButtons, shiftCustomMapMacros, shiftCustomMapExtras); } } //catch { Loaded = false; } @@ -1559,11 +1676,13 @@ namespace DS4Control this.customMapKeys[device] = customMapKeys; this.customMapKeyTypes[device] = customMapKeyTypes; this.customMapMacros[device] = customMapMacros; + this.customMapExtras[device] = customMapExtras; this.shiftCustomMapButtons[device] = shiftCustomMapButtons; this.shiftCustomMapKeys[device] = shiftCustomMapKeys; this.shiftCustomMapKeyTypes[device] = shiftCustomMapKeyTypes; this.shiftCustomMapMacros[device] = shiftCustomMapMacros; + this.shiftCustomMapExtras[device] = shiftCustomMapExtras; } // Only add missing settings if the actual load was graceful if (missingSetting && Loaded)// && buttons != null) @@ -1573,7 +1692,7 @@ namespace DS4Control } public void LoadButtons(System.Windows.Forms.Control[] buttons, string control, Dictionary customMapKeyTypes, - Dictionary customMapKeys, Dictionary customMapButtons, Dictionary customMapMacros) + Dictionary customMapKeys, Dictionary customMapButtons, Dictionary customMapMacros, Dictionary customMapExtras) { XmlNode Item; DS4KeyType keyType; @@ -1617,7 +1736,15 @@ namespace DS4Control if (keyType != DS4KeyType.None) customMapKeyTypes.Add(getDS4ControlsByName(Item.Name), keyType); } - + string extras; + Item = m_Xdoc.SelectSingleNode(String.Format("/" + rootname + "/" + control + "/Extras/{0}", button.Name)); + if (Item != null) + { + extras = Item.InnerText; + customMapExtras.Add(getDS4ControlsByName(button.Name), Item.InnerText); + } + else + extras = "0,0,0,0,0,0,0,0"; Item = m_Xdoc.SelectSingleNode(String.Format("/" + rootname + "/" + control + "/Macro/{0}", button.Name)); if (Item != null) { @@ -1635,7 +1762,7 @@ namespace DS4Control else if (keys[i] > 300) splitter[i] = "Wait " + (keys[i] - 300) + "ms"; } button.Text = "Macro"; - button.Tag = keys; + button.Tag = new KeyValuePair(keys, extras); customMapMacros.Add(getDS4ControlsByName(button.Name), Item.InnerText); } else if (m_Xdoc.SelectSingleNode(String.Format("/" + rootname + "/" + control + "/Key/{0}", button.Name)) != null) @@ -1645,20 +1772,21 @@ namespace DS4Control { //foundBinding = true; customMapKeys.Add(getDS4ControlsByName(Item.Name), wvk); - button.Tag = wvk; + button.Tag = new KeyValuePair(wvk, extras); button.Text = ((System.Windows.Forms.Keys)wvk).ToString(); } } - else + else if (m_Xdoc.SelectSingleNode(String.Format("/" + rootname + "/" + control + "/Button/{0}", button.Name)) != null) { Item = m_Xdoc.SelectSingleNode(String.Format("/" + rootname + "/" + control + "/Button/{0}", button.Name)); - if (Item != null) - { - //foundBinding = true; - button.Tag = Item.InnerText; - button.Text = Item.InnerText; - customMapButtons.Add(getDS4ControlsByName(button.Name), getX360ControlsByName(Item.InnerText)); - } + //foundBinding = true; + button.Tag = new KeyValuePair(Item.InnerText, extras); + button.Text = Item.InnerText; + customMapButtons.Add(getDS4ControlsByName(button.Name), getX360ControlsByName(Item.InnerText)); + } + else + { + button.Tag = new KeyValuePair(null, extras); } } catch diff --git a/DS4Tool/DS4Form.cs b/DS4Tool/DS4Form.cs index b486666..9c951c3 100644 --- a/DS4Tool/DS4Form.cs +++ b/DS4Tool/DS4Form.cs @@ -31,7 +31,8 @@ namespace DS4Windows WebClient wc = new WebClient(); Timer test = new Timer(), hotkeysTimer = new Timer(); string exepath = Directory.GetParent(Assembly.GetExecutingAssembly().Location).FullName; - string appdatapath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\DS4Tool"; + string appdatapath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\DS4Windows"; + string oldappdatapath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\DS4Tool"; float dpix, dpiy; DateTime oldnow = DateTime.UtcNow; string tempprofile = "null"; @@ -86,7 +87,7 @@ namespace DS4Windows (ToolStripMenuItem)notifyIcon1.ContextMenuStrip.Items[3] }; SystemEvents.PowerModeChanged += OnPowerChange; tSOptions.Visible = false; - if (File.Exists(appdatapath + "\\Profiles.xml")) + if (File.Exists(appdatapath + "\\Auto Profiles.xml")) tt.SetToolTip(linkUninstall, Properties.Resources.IfRemovingDS4Windows); tt.SetToolTip(cBSwipeProfiles, Properties.Resources.TwoFingerSwipe); tt.SetToolTip(cBQuickCharge, Properties.Resources.QuickCharge); @@ -101,6 +102,20 @@ namespace DS4Windows Global.SaveWhere(exepath); else if (File.Exists(appdatapath + "\\Auto Profiles.xml")) Global.SaveWhere(appdatapath); + else if (File.Exists(oldappdatapath + "\\Auto Profiles.xml")) + { + try + { + Directory.Move(oldappdatapath, appdatapath); + Global.SaveWhere(appdatapath); + } + catch + { + MessageBox.Show(Properties.Resources.CannotMoveFiles, "DS4Windows"); + Close(); + return; + } + } else if (!File.Exists(exepath + "\\Auto Profiles.xml") && !File.Exists(appdatapath + "\\Auto Profiles.xml")) { @@ -261,13 +276,6 @@ namespace DS4Windows Show(); } - /*private void exitToolStripMenuItem_Click(object sender, EventArgs e) - { - mAllowClose = mAllowVisible = true; - if (!mLoadFired) Show(); - Close(); - }*/ - public static string GetTopWindowName() { IntPtr hWnd = GetForegroundWindow(); @@ -402,9 +410,15 @@ namespace DS4Windows if (!deriverinstalled) { - WelcomeDialog wd = new WelcomeDialog(); - wd.ShowDialog(); - wd.FormClosed += delegate { btnStartStop_Clicked(false); btnStartStop_Clicked(false); }; + Process p = new Process(); + p.StartInfo.FileName = Assembly.GetExecutingAssembly().Location; + p.StartInfo.Arguments = "driverinstall"; + p.StartInfo.Verb = "runas"; + try { p.Start(); } + catch { } + //WelcomeDialog wd = new WelcomeDialog(); + //wd.ShowDialog(); + //wd.FormClosed += delegate { btnStartStop_Clicked(false); btnStartStop_Clicked(false); }; } } catch @@ -442,8 +456,8 @@ namespace DS4Windows p.StartInfo.FileName = exepath + "\\DS4Updater.exe"; if (Global.AdminNeeded()) p.StartInfo.Verb = "runas"; - p.Start(); - Close(); + try { p.Start(); Close(); } + catch { } } else File.Delete(Global.appdatapath + "\\version.txt"); @@ -1297,8 +1311,8 @@ namespace DS4Windows p.StartInfo.FileName = exepath + "\\DS4Updater.exe"; if (Global.AdminNeeded()) p.StartInfo.Verb = "runas"; - p.Start(); - Close(); + try { p.Start(); Close(); } + catch { } } else File.Delete(Global.appdatapath + "\\version.txt"); @@ -1328,8 +1342,14 @@ namespace DS4Windows private void lLSetup_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { - WelcomeDialog wd = new WelcomeDialog(); - wd.ShowDialog(); + Process p = new Process(); + p.StartInfo.FileName = Assembly.GetExecutingAssembly().Location; + p.StartInfo.Arguments = "driverinstall"; + p.StartInfo.Verb = "runas"; + try { p.Start(); } + catch { } + //WelcomeDialog wd = new WelcomeDialog(); + //wd.ShowDialog(); tabSettings.Text = "Settings"; linkSetup.LinkColor = Color.Blue; } diff --git a/DS4Tool/DS4Windows.csproj b/DS4Tool/DS4Windows.csproj index 92bb9d7..9610ca0 100644 --- a/DS4Tool/DS4Windows.csproj +++ b/DS4Tool/DS4Windows.csproj @@ -81,9 +81,7 @@ - - true - + diff --git a/DS4Tool/KBM360.Designer.cs b/DS4Tool/KBM360.Designer.cs index 7c2f6f6..d676ae2 100644 --- a/DS4Tool/KBM360.Designer.cs +++ b/DS4Tool/KBM360.Designer.cs @@ -29,539 +29,210 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KBM360)); - this.lBTip = new System.Windows.Forms.Label(); - this.cbScanCode = new System.Windows.Forms.CheckBox(); - this.button7 = new System.Windows.Forms.Button(); - this.button5 = new System.Windows.Forms.Button(); - this.button4 = new System.Windows.Forms.Button(); - this.button6 = new System.Windows.Forms.Button(); - this.btnNUMDOT = new System.Windows.Forms.Button(); - this.btnNUM3 = new System.Windows.Forms.Button(); - this.btnNUM2 = new System.Windows.Forms.Button(); - this.btnNUM0 = new System.Windows.Forms.Button(); - this.btnNUM6 = new System.Windows.Forms.Button(); - this.btnNUM1 = new System.Windows.Forms.Button(); - this.btnNUM5 = new System.Windows.Forms.Button(); - this.btnNUM4 = new System.Windows.Forms.Button(); - this.btnNUMENTER = new System.Windows.Forms.Button(); - this.btnNUMPLUS = new System.Windows.Forms.Button(); - this.btnNUMMINUS = new System.Windows.Forms.Button(); - this.btnNUM9 = new System.Windows.Forms.Button(); - this.btnNUMSTAR = new System.Windows.Forms.Button(); - this.btnNUM8 = new System.Windows.Forms.Button(); - this.btnNUMSLASH = new System.Windows.Forms.Button(); - this.btnNUM7 = new System.Windows.Forms.Button(); - this.btnNUMLOCK = new System.Windows.Forms.Button(); - this.btnESC = new System.Windows.Forms.Button(); - this.btnTILDE = new System.Windows.Forms.Button(); - this.btnF11 = new System.Windows.Forms.Button(); - this.btnF10 = new System.Windows.Forms.Button(); - this.btnF12 = new System.Windows.Forms.Button(); - this.btnBREAK = new System.Windows.Forms.Button(); - this.button35 = new System.Windows.Forms.Button(); - this.button39 = new System.Windows.Forms.Button(); - this.button38 = new System.Windows.Forms.Button(); - this.btnPREVTRACK = new System.Windows.Forms.Button(); - this.btnNEXTTRACK = new System.Windows.Forms.Button(); - this.btnPLAYPAUSE = new System.Windows.Forms.Button(); - this.btnSTOP = new System.Windows.Forms.Button(); - this.button34 = new System.Windows.Forms.Button(); - this.btnSCL = new System.Windows.Forms.Button(); - this.btnDEL = new System.Windows.Forms.Button(); - this.btnEND = new System.Windows.Forms.Button(); - this.btnPGDN = new System.Windows.Forms.Button(); - this.btnPGUP = new System.Windows.Forms.Button(); - this.btnHOME = new System.Windows.Forms.Button(); - this.btnINS = new System.Windows.Forms.Button(); - this.btnF9 = new System.Windows.Forms.Button(); - this.btnF8 = new System.Windows.Forms.Button(); - this.btnF7 = new System.Windows.Forms.Button(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.btnF6 = new System.Windows.Forms.Button(); this.btnF5 = new System.Windows.Forms.Button(); + this.btnF7 = new System.Windows.Forms.Button(); this.btnF4 = new System.Windows.Forms.Button(); + this.btnF8 = new System.Windows.Forms.Button(); this.btnF3 = new System.Windows.Forms.Button(); + this.btnF9 = new System.Windows.Forms.Button(); this.btnF2 = new System.Windows.Forms.Button(); + this.btnINS = new System.Windows.Forms.Button(); this.btnF1 = new System.Windows.Forms.Button(); + this.btnHOME = new System.Windows.Forms.Button(); this.btn1 = new System.Windows.Forms.Button(); + this.btnPGUP = new System.Windows.Forms.Button(); this.btnBACKSPACE = new System.Windows.Forms.Button(); + this.btnPGDN = new System.Windows.Forms.Button(); this.btnEQUALS = new System.Windows.Forms.Button(); + this.btnEND = new System.Windows.Forms.Button(); this.btnMINUS = new System.Windows.Forms.Button(); + this.btnDEL = new System.Windows.Forms.Button(); this.btn0 = new System.Windows.Forms.Button(); + this.btnSCL = new System.Windows.Forms.Button(); this.btn9 = new System.Windows.Forms.Button(); + this.button34 = new System.Windows.Forms.Button(); this.btn8 = new System.Windows.Forms.Button(); + this.btnSTOP = new System.Windows.Forms.Button(); this.btn7 = new System.Windows.Forms.Button(); + this.btnPLAYPAUSE = new System.Windows.Forms.Button(); this.btn6 = new System.Windows.Forms.Button(); + this.btnNEXTTRACK = new System.Windows.Forms.Button(); this.btn5 = new System.Windows.Forms.Button(); + this.btnPREVTRACK = new System.Windows.Forms.Button(); this.btn4 = new System.Windows.Forms.Button(); + this.button38 = new System.Windows.Forms.Button(); this.btn3 = new System.Windows.Forms.Button(); + this.button39 = new System.Windows.Forms.Button(); this.btn2 = new System.Windows.Forms.Button(); + this.button35 = new System.Windows.Forms.Button(); this.btnSPACE = new System.Windows.Forms.Button(); + this.btnBREAK = new System.Windows.Forms.Button(); this.btnLSHIFT = new System.Windows.Forms.Button(); + this.btnF12 = new System.Windows.Forms.Button(); this.btnRSHIFT = new System.Windows.Forms.Button(); + this.btnF10 = new System.Windows.Forms.Button(); this.btnSLASH = new System.Windows.Forms.Button(); + this.btnF11 = new System.Windows.Forms.Button(); this.btnPERIOD = new System.Windows.Forms.Button(); + this.btnTILDE = new System.Windows.Forms.Button(); this.btnCOMMA = new System.Windows.Forms.Button(); this.btnM = new System.Windows.Forms.Button(); + this.btnNUMLOCK = new System.Windows.Forms.Button(); this.btnN = new System.Windows.Forms.Button(); + this.btnNUM7 = new System.Windows.Forms.Button(); this.btnB = new System.Windows.Forms.Button(); + this.btnNUMSLASH = new System.Windows.Forms.Button(); this.btnV = new System.Windows.Forms.Button(); + this.btnNUM8 = new System.Windows.Forms.Button(); this.btnC = new System.Windows.Forms.Button(); + this.btnNUMSTAR = new System.Windows.Forms.Button(); this.btnX = new System.Windows.Forms.Button(); + this.btnNUM9 = new System.Windows.Forms.Button(); this.btnZ = new System.Windows.Forms.Button(); + this.btnNUMMINUS = new System.Windows.Forms.Button(); this.btnRALT = new System.Windows.Forms.Button(); + this.btnNUMPLUS = new System.Windows.Forms.Button(); this.button36 = new System.Windows.Forms.Button(); + this.btnNUMENTER = new System.Windows.Forms.Button(); this.btnWINDOWS = new System.Windows.Forms.Button(); + this.btnNUM4 = new System.Windows.Forms.Button(); this.btnLALT = new System.Windows.Forms.Button(); + this.btnNUM5 = new System.Windows.Forms.Button(); this.btnRCTRL = new System.Windows.Forms.Button(); + this.btnNUM1 = new System.Windows.Forms.Button(); this.btnLCTRL = new System.Windows.Forms.Button(); + this.btnNUM6 = new System.Windows.Forms.Button(); this.btnCAPS = new System.Windows.Forms.Button(); + this.btnNUM0 = new System.Windows.Forms.Button(); this.btnRETURN = new System.Windows.Forms.Button(); + this.btnNUM2 = new System.Windows.Forms.Button(); this.btnAPOSTROPHE = new System.Windows.Forms.Button(); - this.btnSEMICOLON = new System.Windows.Forms.Button(); + this.btnNUM3 = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.lbRumble = new System.Windows.Forms.Label(); + this.lbHeavy = new System.Windows.Forms.Label(); + this.lbLight = new System.Windows.Forms.Label(); + this.nUDHeavy = new System.Windows.Forms.NumericUpDown(); + this.nUDLight = new System.Windows.Forms.NumericUpDown(); + this.btnH = new System.Windows.Forms.Button(); + this.nUDLightFlash = new System.Windows.Forms.NumericUpDown(); + this.tBBlueBar = new System.Windows.Forms.TrackBar(); this.btnL = new System.Windows.Forms.Button(); this.btnK = new System.Windows.Forms.Button(); this.btnJ = new System.Windows.Forms.Button(); - this.btnH = new System.Windows.Forms.Button(); + this.button5 = new System.Windows.Forms.Button(); + this.tBGreenBar = new System.Windows.Forms.TrackBar(); + this.tBRedBar = new System.Windows.Forms.TrackBar(); + this.lbBlue = new System.Windows.Forms.Label(); + this.lbGreen = new System.Windows.Forms.Label(); + this.btnSEMICOLON = new System.Windows.Forms.Button(); + this.button7 = new System.Windows.Forms.Button(); + this.bnTest = new System.Windows.Forms.Button(); + this.lbRed = new System.Windows.Forms.Label(); + this.button4 = new System.Windows.Forms.Button(); + this.nUDMouse = new System.Windows.Forms.NumericUpDown(); + this.button6 = new System.Windows.Forms.Button(); + this.bnColor = new System.Windows.Forms.Button(); + this.btnNUMDOT = new System.Windows.Forms.Button(); this.btnG = new System.Windows.Forms.Button(); + this.cbScanCode = new System.Windows.Forms.CheckBox(); this.btnF = new System.Windows.Forms.Button(); + this.lBTip = new System.Windows.Forms.Label(); this.btnD = new System.Windows.Forms.Button(); - this.btnS = new System.Windows.Forms.Button(); - this.btnA = new System.Windows.Forms.Button(); - this.btnTAB = new System.Windows.Forms.Button(); - this.btnBACKSLASH = new System.Windows.Forms.Button(); - this.btnCLOSEBRACKET = new System.Windows.Forms.Button(); - this.btnOPENBRACKET = new System.Windows.Forms.Button(); - this.btnP = new System.Windows.Forms.Button(); - this.btnO = new System.Windows.Forms.Button(); - this.btnI = new System.Windows.Forms.Button(); - this.btnU = new System.Windows.Forms.Button(); - this.btnY = new System.Windows.Forms.Button(); - this.btnT = new System.Windows.Forms.Button(); - this.btnR = new System.Windows.Forms.Button(); - this.bTNRIGHTMOUSE = new System.Windows.Forms.Button(); - this.btnE = new System.Windows.Forms.Button(); - this.bnWHEELDOWN = new System.Windows.Forms.Button(); - this.bnWHEELUP = new System.Windows.Forms.Button(); - this.btnMIDDLEMOUSE = new System.Windows.Forms.Button(); - this.btnW = new System.Windows.Forms.Button(); - this.button33 = new System.Windows.Forms.Button(); - this.button30 = new System.Windows.Forms.Button(); - this.btnMOUSERIGHT = new System.Windows.Forms.Button(); - this.btnMOUSELEFT = new System.Windows.Forms.Button(); - this.btnMOUSEDOWN = new System.Windows.Forms.Button(); - this.btnMOUSEUP = new System.Windows.Forms.Button(); - this.btnLEFTMOUSE = new System.Windows.Forms.Button(); - this.btnQ = new System.Windows.Forms.Button(); - this.pictureBox2 = new System.Windows.Forms.PictureBox(); - this.cbToggle = new System.Windows.Forms.CheckBox(); - this.btnUNBOUND2 = new System.Windows.Forms.Button(); - this.button13 = new System.Windows.Forms.Button(); - this.button2 = new System.Windows.Forms.Button(); - this.btnRSL = new System.Windows.Forms.Button(); - this.btnLSL = new System.Windows.Forms.Button(); - this.btnRSD = new System.Windows.Forms.Button(); - this.btnLSD = new System.Windows.Forms.Button(); - this.button19 = new System.Windows.Forms.Button(); - this.button20 = new System.Windows.Forms.Button(); - this.button18 = new System.Windows.Forms.Button(); - this.button17 = new System.Windows.Forms.Button(); - this.btnRSR = new System.Windows.Forms.Button(); - this.btnRS = new System.Windows.Forms.Button(); - this.btnLSR = new System.Windows.Forms.Button(); - this.btnRSU = new System.Windows.Forms.Button(); - this.btnLS = new System.Windows.Forms.Button(); - this.btnLSU = new System.Windows.Forms.Button(); - this.button11 = new System.Windows.Forms.Button(); - this.btnRB = new System.Windows.Forms.Button(); - this.button10 = new System.Windows.Forms.Button(); - this.button9 = new System.Windows.Forms.Button(); - this.button8 = new System.Windows.Forms.Button(); - this.button23 = new System.Windows.Forms.Button(); - this.button22 = new System.Windows.Forms.Button(); - this.button21 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); + this.btnS = new System.Windows.Forms.Button(); + this.button21 = new System.Windows.Forms.Button(); + this.btnA = new System.Windows.Forms.Button(); + this.button22 = new System.Windows.Forms.Button(); + this.btnTAB = new System.Windows.Forms.Button(); + this.button23 = new System.Windows.Forms.Button(); + this.btnBACKSLASH = new System.Windows.Forms.Button(); + this.button8 = new System.Windows.Forms.Button(); + this.btnCLOSEBRACKET = new System.Windows.Forms.Button(); + this.button9 = new System.Windows.Forms.Button(); + this.btnOPENBRACKET = new System.Windows.Forms.Button(); + this.button10 = new System.Windows.Forms.Button(); + this.btnP = new System.Windows.Forms.Button(); + this.button11 = new System.Windows.Forms.Button(); + this.btnO = new System.Windows.Forms.Button(); + this.button17 = new System.Windows.Forms.Button(); + this.btnI = new System.Windows.Forms.Button(); + this.button18 = new System.Windows.Forms.Button(); + this.btnU = new System.Windows.Forms.Button(); + this.button20 = new System.Windows.Forms.Button(); + this.btnY = new System.Windows.Forms.Button(); + this.button19 = new System.Windows.Forms.Button(); + this.btnT = new System.Windows.Forms.Button(); + this.button13 = new System.Windows.Forms.Button(); + this.btnR = new System.Windows.Forms.Button(); this.X360Label = new System.Windows.Forms.Label(); + this.bTNRIGHTMOUSE = new System.Windows.Forms.Button(); this.KBMlabel = new System.Windows.Forms.Label(); + this.btnE = new System.Windows.Forms.Button(); this.lBMacroOn = new System.Windows.Forms.Label(); + this.bnWHEELDOWN = new System.Windows.Forms.Button(); this.bnMacro = new System.Windows.Forms.Button(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.bnWHEELUP = new System.Windows.Forms.Button(); + this.btnRSL = new System.Windows.Forms.Button(); + this.btnMIDDLEMOUSE = new System.Windows.Forms.Button(); + this.btnRSD = new System.Windows.Forms.Button(); + this.btnW = new System.Windows.Forms.Button(); + this.btnRSR = new System.Windows.Forms.Button(); + this.button33 = new System.Windows.Forms.Button(); + this.btnRB = new System.Windows.Forms.Button(); + this.button30 = new System.Windows.Forms.Button(); + this.btnLSL = new System.Windows.Forms.Button(); + this.btnMOUSERIGHT = new System.Windows.Forms.Button(); + this.btnRSU = new System.Windows.Forms.Button(); + this.btnMOUSELEFT = new System.Windows.Forms.Button(); + this.btnLSD = new System.Windows.Forms.Button(); + this.btnMOUSEDOWN = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.btnMOUSEUP = new System.Windows.Forms.Button(); + this.btnLSR = new System.Windows.Forms.Button(); + this.btnLEFTMOUSE = new System.Windows.Forms.Button(); + this.btnRS = new System.Windows.Forms.Button(); + this.btnQ = new System.Windows.Forms.Button(); + this.btnLSU = new System.Windows.Forms.Button(); + this.btnLS = new System.Windows.Forms.Button(); + this.cbToggle = new System.Windows.Forms.CheckBox(); this.btnFallBack = new System.Windows.Forms.Button(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + this.btnUNBOUND2 = new System.Windows.Forms.Button(); + this.btnESC = new System.Windows.Forms.Button(); + this.gBExtras = new System.Windows.Forms.GroupBox(); + this.cBMouse = new System.Windows.Forms.CheckBox(); + this.cBLightbar = new System.Windows.Forms.CheckBox(); + this.lbBlueV = new System.Windows.Forms.Label(); + this.lbGreenV = new System.Windows.Forms.Label(); + this.lbRedV = new System.Windows.Forms.Label(); + this.advColorDialog = new DS4Windows.AdvancedColorDialog(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nUDHeavy)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nUDLight)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nUDLightFlash)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tBBlueBar)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tBGreenBar)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tBRedBar)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nUDMouse)).BeginInit(); + this.gBExtras.SuspendLayout(); this.SuspendLayout(); // - // lBTip + // pictureBox1 // - resources.ApplyResources(this.lBTip, "lBTip"); - this.lBTip.ForeColor = System.Drawing.SystemColors.GrayText; - this.lBTip.Name = "lBTip"; + resources.ApplyResources(this.pictureBox1, "pictureBox1"); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.TabStop = false; // - // cbScanCode + // pictureBox2 // - resources.ApplyResources(this.cbScanCode, "cbScanCode"); - this.cbScanCode.Name = "cbScanCode"; - this.cbScanCode.TabStop = false; - this.cbScanCode.UseVisualStyleBackColor = true; - // - // button7 - // - resources.ApplyResources(this.button7, "button7"); - this.button7.Name = "button7"; - this.button7.TabStop = false; - this.button7.Tag = "38"; - this.button7.UseVisualStyleBackColor = true; - // - // button5 - // - resources.ApplyResources(this.button5, "button5"); - this.button5.Name = "button5"; - this.button5.TabStop = false; - this.button5.Tag = "39"; - this.button5.UseVisualStyleBackColor = true; - // - // button4 - // - resources.ApplyResources(this.button4, "button4"); - this.button4.Name = "button4"; - this.button4.TabStop = false; - this.button4.Tag = "37"; - this.button4.UseVisualStyleBackColor = true; - // - // button6 - // - resources.ApplyResources(this.button6, "button6"); - this.button6.Name = "button6"; - this.button6.TabStop = false; - this.button6.Tag = "40"; - this.button6.UseVisualStyleBackColor = true; - // - // btnNUMDOT - // - resources.ApplyResources(this.btnNUMDOT, "btnNUMDOT"); - this.btnNUMDOT.Name = "btnNUMDOT"; - this.btnNUMDOT.TabStop = false; - this.btnNUMDOT.Tag = "110"; - this.btnNUMDOT.UseVisualStyleBackColor = true; - // - // btnNUM3 - // - resources.ApplyResources(this.btnNUM3, "btnNUM3"); - this.btnNUM3.Name = "btnNUM3"; - this.btnNUM3.TabStop = false; - this.btnNUM3.Tag = "99"; - this.btnNUM3.UseVisualStyleBackColor = true; - // - // btnNUM2 - // - resources.ApplyResources(this.btnNUM2, "btnNUM2"); - this.btnNUM2.Name = "btnNUM2"; - this.btnNUM2.TabStop = false; - this.btnNUM2.Tag = "98"; - this.btnNUM2.UseVisualStyleBackColor = true; - // - // btnNUM0 - // - resources.ApplyResources(this.btnNUM0, "btnNUM0"); - this.btnNUM0.Name = "btnNUM0"; - this.btnNUM0.TabStop = false; - this.btnNUM0.Tag = "96"; - this.btnNUM0.UseVisualStyleBackColor = true; - // - // btnNUM6 - // - resources.ApplyResources(this.btnNUM6, "btnNUM6"); - this.btnNUM6.Name = "btnNUM6"; - this.btnNUM6.TabStop = false; - this.btnNUM6.Tag = "102"; - this.btnNUM6.UseVisualStyleBackColor = true; - // - // btnNUM1 - // - resources.ApplyResources(this.btnNUM1, "btnNUM1"); - this.btnNUM1.Name = "btnNUM1"; - this.btnNUM1.TabStop = false; - this.btnNUM1.Tag = "97"; - this.btnNUM1.UseVisualStyleBackColor = true; - // - // btnNUM5 - // - resources.ApplyResources(this.btnNUM5, "btnNUM5"); - this.btnNUM5.Name = "btnNUM5"; - this.btnNUM5.TabStop = false; - this.btnNUM5.Tag = "101"; - this.btnNUM5.UseVisualStyleBackColor = true; - // - // btnNUM4 - // - resources.ApplyResources(this.btnNUM4, "btnNUM4"); - this.btnNUM4.Name = "btnNUM4"; - this.btnNUM4.TabStop = false; - this.btnNUM4.Tag = "100"; - this.btnNUM4.UseVisualStyleBackColor = true; - // - // btnNUMENTER - // - resources.ApplyResources(this.btnNUMENTER, "btnNUMENTER"); - this.btnNUMENTER.Name = "btnNUMENTER"; - this.btnNUMENTER.TabStop = false; - this.btnNUMENTER.Tag = "13"; - this.btnNUMENTER.UseVisualStyleBackColor = true; - // - // btnNUMPLUS - // - resources.ApplyResources(this.btnNUMPLUS, "btnNUMPLUS"); - this.btnNUMPLUS.Name = "btnNUMPLUS"; - this.btnNUMPLUS.TabStop = false; - this.btnNUMPLUS.Tag = "107"; - this.btnNUMPLUS.UseVisualStyleBackColor = true; - // - // btnNUMMINUS - // - resources.ApplyResources(this.btnNUMMINUS, "btnNUMMINUS"); - this.btnNUMMINUS.Name = "btnNUMMINUS"; - this.btnNUMMINUS.TabStop = false; - this.btnNUMMINUS.Tag = "109"; - this.btnNUMMINUS.UseVisualStyleBackColor = true; - // - // btnNUM9 - // - resources.ApplyResources(this.btnNUM9, "btnNUM9"); - this.btnNUM9.Name = "btnNUM9"; - this.btnNUM9.TabStop = false; - this.btnNUM9.Tag = "105"; - this.btnNUM9.UseVisualStyleBackColor = true; - // - // btnNUMSTAR - // - resources.ApplyResources(this.btnNUMSTAR, "btnNUMSTAR"); - this.btnNUMSTAR.Name = "btnNUMSTAR"; - this.btnNUMSTAR.TabStop = false; - this.btnNUMSTAR.Tag = "106"; - this.btnNUMSTAR.UseVisualStyleBackColor = true; - // - // btnNUM8 - // - resources.ApplyResources(this.btnNUM8, "btnNUM8"); - this.btnNUM8.Name = "btnNUM8"; - this.btnNUM8.TabStop = false; - this.btnNUM8.Tag = "104"; - this.btnNUM8.UseVisualStyleBackColor = true; - // - // btnNUMSLASH - // - resources.ApplyResources(this.btnNUMSLASH, "btnNUMSLASH"); - this.btnNUMSLASH.Name = "btnNUMSLASH"; - this.btnNUMSLASH.TabStop = false; - this.btnNUMSLASH.Tag = "111"; - this.btnNUMSLASH.UseVisualStyleBackColor = true; - // - // btnNUM7 - // - resources.ApplyResources(this.btnNUM7, "btnNUM7"); - this.btnNUM7.Name = "btnNUM7"; - this.btnNUM7.TabStop = false; - this.btnNUM7.Tag = "103"; - this.btnNUM7.UseVisualStyleBackColor = true; - // - // btnNUMLOCK - // - resources.ApplyResources(this.btnNUMLOCK, "btnNUMLOCK"); - this.btnNUMLOCK.Name = "btnNUMLOCK"; - this.btnNUMLOCK.TabStop = false; - this.btnNUMLOCK.Tag = "144"; - this.btnNUMLOCK.UseVisualStyleBackColor = true; - // - // btnESC - // - resources.ApplyResources(this.btnESC, "btnESC"); - this.btnESC.Name = "btnESC"; - this.btnESC.TabStop = false; - this.btnESC.Tag = "27"; - this.btnESC.UseVisualStyleBackColor = true; - // - // btnTILDE - // - resources.ApplyResources(this.btnTILDE, "btnTILDE"); - this.btnTILDE.Name = "btnTILDE"; - this.btnTILDE.TabStop = false; - this.btnTILDE.Tag = "192"; - this.btnTILDE.UseVisualStyleBackColor = true; - // - // btnF11 - // - resources.ApplyResources(this.btnF11, "btnF11"); - this.btnF11.Name = "btnF11"; - this.btnF11.TabStop = false; - this.btnF11.Tag = "122"; - this.btnF11.UseVisualStyleBackColor = true; - // - // btnF10 - // - resources.ApplyResources(this.btnF10, "btnF10"); - this.btnF10.Name = "btnF10"; - this.btnF10.TabStop = false; - this.btnF10.Tag = "121"; - this.btnF10.UseVisualStyleBackColor = true; - // - // btnF12 - // - resources.ApplyResources(this.btnF12, "btnF12"); - this.btnF12.Name = "btnF12"; - this.btnF12.TabStop = false; - this.btnF12.Tag = "123"; - this.btnF12.UseVisualStyleBackColor = true; - // - // btnBREAK - // - resources.ApplyResources(this.btnBREAK, "btnBREAK"); - this.btnBREAK.Name = "btnBREAK"; - this.btnBREAK.TabStop = false; - this.btnBREAK.Tag = "19"; - this.btnBREAK.UseVisualStyleBackColor = true; - // - // button35 - // - resources.ApplyResources(this.button35, "button35"); - this.button35.Name = "button35"; - this.button35.TabStop = false; - this.button35.Tag = "173"; - this.button35.UseVisualStyleBackColor = true; - // - // button39 - // - resources.ApplyResources(this.button39, "button39"); - this.button39.Name = "button39"; - this.button39.TabStop = false; - this.button39.Tag = "174"; - this.button39.UseVisualStyleBackColor = true; - // - // button38 - // - resources.ApplyResources(this.button38, "button38"); - this.button38.Name = "button38"; - this.button38.TabStop = false; - this.button38.Tag = "175"; - this.button38.UseVisualStyleBackColor = true; - // - // btnPREVTRACK - // - resources.ApplyResources(this.btnPREVTRACK, "btnPREVTRACK"); - this.btnPREVTRACK.Name = "btnPREVTRACK"; - this.btnPREVTRACK.TabStop = false; - this.btnPREVTRACK.Tag = "177"; - this.btnPREVTRACK.UseVisualStyleBackColor = true; - // - // btnNEXTTRACK - // - resources.ApplyResources(this.btnNEXTTRACK, "btnNEXTTRACK"); - this.btnNEXTTRACK.Name = "btnNEXTTRACK"; - this.btnNEXTTRACK.TabStop = false; - this.btnNEXTTRACK.Tag = "176"; - this.btnNEXTTRACK.UseVisualStyleBackColor = true; - // - // btnPLAYPAUSE - // - resources.ApplyResources(this.btnPLAYPAUSE, "btnPLAYPAUSE"); - this.btnPLAYPAUSE.Name = "btnPLAYPAUSE"; - this.btnPLAYPAUSE.TabStop = false; - this.btnPLAYPAUSE.Tag = "179"; - this.btnPLAYPAUSE.UseVisualStyleBackColor = true; - // - // btnSTOP - // - resources.ApplyResources(this.btnSTOP, "btnSTOP"); - this.btnSTOP.Name = "btnSTOP"; - this.btnSTOP.TabStop = false; - this.btnSTOP.Tag = "178"; - this.btnSTOP.UseVisualStyleBackColor = true; - // - // button34 - // - resources.ApplyResources(this.button34, "button34"); - this.button34.Name = "button34"; - this.button34.TabStop = false; - this.button34.Tag = ""; - this.button34.UseVisualStyleBackColor = true; - // - // btnSCL - // - resources.ApplyResources(this.btnSCL, "btnSCL"); - this.btnSCL.Name = "btnSCL"; - this.btnSCL.TabStop = false; - this.btnSCL.Tag = "145"; - this.btnSCL.UseVisualStyleBackColor = true; - // - // btnDEL - // - resources.ApplyResources(this.btnDEL, "btnDEL"); - this.btnDEL.Name = "btnDEL"; - this.btnDEL.TabStop = false; - this.btnDEL.Tag = "46"; - this.btnDEL.UseVisualStyleBackColor = true; - // - // btnEND - // - resources.ApplyResources(this.btnEND, "btnEND"); - this.btnEND.Name = "btnEND"; - this.btnEND.TabStop = false; - this.btnEND.Tag = "35"; - this.btnEND.UseVisualStyleBackColor = true; - // - // btnPGDN - // - resources.ApplyResources(this.btnPGDN, "btnPGDN"); - this.btnPGDN.Name = "btnPGDN"; - this.btnPGDN.TabStop = false; - this.btnPGDN.Tag = "34"; - this.btnPGDN.UseVisualStyleBackColor = true; - // - // btnPGUP - // - resources.ApplyResources(this.btnPGUP, "btnPGUP"); - this.btnPGUP.Name = "btnPGUP"; - this.btnPGUP.TabStop = false; - this.btnPGUP.Tag = "33"; - this.btnPGUP.UseVisualStyleBackColor = true; - // - // btnHOME - // - resources.ApplyResources(this.btnHOME, "btnHOME"); - this.btnHOME.Name = "btnHOME"; - this.btnHOME.TabStop = false; - this.btnHOME.Tag = "36"; - this.btnHOME.UseVisualStyleBackColor = true; - // - // btnINS - // - resources.ApplyResources(this.btnINS, "btnINS"); - this.btnINS.Name = "btnINS"; - this.btnINS.TabStop = false; - this.btnINS.Tag = "45"; - this.btnINS.UseVisualStyleBackColor = true; - // - // btnF9 - // - resources.ApplyResources(this.btnF9, "btnF9"); - this.btnF9.Name = "btnF9"; - this.btnF9.TabStop = false; - this.btnF9.Tag = "120"; - this.btnF9.UseVisualStyleBackColor = true; - // - // btnF8 - // - resources.ApplyResources(this.btnF8, "btnF8"); - this.btnF8.Name = "btnF8"; - this.btnF8.TabStop = false; - this.btnF8.Tag = "119"; - this.btnF8.UseVisualStyleBackColor = true; - // - // btnF7 - // - resources.ApplyResources(this.btnF7, "btnF7"); - this.btnF7.Name = "btnF7"; - this.btnF7.TabStop = false; - this.btnF7.Tag = "118"; - this.btnF7.UseVisualStyleBackColor = true; + this.pictureBox2.Image = global::DS4Windows.Properties.Resources.mouse; + resources.ApplyResources(this.pictureBox2, "pictureBox2"); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.TabStop = false; // // btnF6 // @@ -579,6 +250,14 @@ this.btnF5.Tag = "116"; this.btnF5.UseVisualStyleBackColor = true; // + // btnF7 + // + resources.ApplyResources(this.btnF7, "btnF7"); + this.btnF7.Name = "btnF7"; + this.btnF7.TabStop = false; + this.btnF7.Tag = "118"; + this.btnF7.UseVisualStyleBackColor = true; + // // btnF4 // resources.ApplyResources(this.btnF4, "btnF4"); @@ -587,6 +266,14 @@ this.btnF4.Tag = "115"; this.btnF4.UseVisualStyleBackColor = true; // + // btnF8 + // + resources.ApplyResources(this.btnF8, "btnF8"); + this.btnF8.Name = "btnF8"; + this.btnF8.TabStop = false; + this.btnF8.Tag = "119"; + this.btnF8.UseVisualStyleBackColor = true; + // // btnF3 // resources.ApplyResources(this.btnF3, "btnF3"); @@ -595,6 +282,14 @@ this.btnF3.Tag = "114"; this.btnF3.UseVisualStyleBackColor = true; // + // btnF9 + // + resources.ApplyResources(this.btnF9, "btnF9"); + this.btnF9.Name = "btnF9"; + this.btnF9.TabStop = false; + this.btnF9.Tag = "120"; + this.btnF9.UseVisualStyleBackColor = true; + // // btnF2 // resources.ApplyResources(this.btnF2, "btnF2"); @@ -603,6 +298,14 @@ this.btnF2.Tag = "113"; this.btnF2.UseVisualStyleBackColor = true; // + // btnINS + // + resources.ApplyResources(this.btnINS, "btnINS"); + this.btnINS.Name = "btnINS"; + this.btnINS.TabStop = false; + this.btnINS.Tag = "45"; + this.btnINS.UseVisualStyleBackColor = true; + // // btnF1 // resources.ApplyResources(this.btnF1, "btnF1"); @@ -611,6 +314,14 @@ this.btnF1.Tag = "112"; this.btnF1.UseVisualStyleBackColor = true; // + // btnHOME + // + resources.ApplyResources(this.btnHOME, "btnHOME"); + this.btnHOME.Name = "btnHOME"; + this.btnHOME.TabStop = false; + this.btnHOME.Tag = "36"; + this.btnHOME.UseVisualStyleBackColor = true; + // // btn1 // resources.ApplyResources(this.btn1, "btn1"); @@ -619,6 +330,14 @@ this.btn1.Tag = "49"; this.btn1.UseVisualStyleBackColor = true; // + // btnPGUP + // + resources.ApplyResources(this.btnPGUP, "btnPGUP"); + this.btnPGUP.Name = "btnPGUP"; + this.btnPGUP.TabStop = false; + this.btnPGUP.Tag = "33"; + this.btnPGUP.UseVisualStyleBackColor = true; + // // btnBACKSPACE // resources.ApplyResources(this.btnBACKSPACE, "btnBACKSPACE"); @@ -627,6 +346,14 @@ this.btnBACKSPACE.Tag = "8"; this.btnBACKSPACE.UseVisualStyleBackColor = true; // + // btnPGDN + // + resources.ApplyResources(this.btnPGDN, "btnPGDN"); + this.btnPGDN.Name = "btnPGDN"; + this.btnPGDN.TabStop = false; + this.btnPGDN.Tag = "34"; + this.btnPGDN.UseVisualStyleBackColor = true; + // // btnEQUALS // resources.ApplyResources(this.btnEQUALS, "btnEQUALS"); @@ -635,6 +362,14 @@ this.btnEQUALS.Tag = "61"; this.btnEQUALS.UseVisualStyleBackColor = true; // + // btnEND + // + resources.ApplyResources(this.btnEND, "btnEND"); + this.btnEND.Name = "btnEND"; + this.btnEND.TabStop = false; + this.btnEND.Tag = "35"; + this.btnEND.UseVisualStyleBackColor = true; + // // btnMINUS // resources.ApplyResources(this.btnMINUS, "btnMINUS"); @@ -642,6 +377,14 @@ this.btnMINUS.TabStop = false; this.btnMINUS.UseVisualStyleBackColor = true; // + // btnDEL + // + resources.ApplyResources(this.btnDEL, "btnDEL"); + this.btnDEL.Name = "btnDEL"; + this.btnDEL.TabStop = false; + this.btnDEL.Tag = "46"; + this.btnDEL.UseVisualStyleBackColor = true; + // // btn0 // resources.ApplyResources(this.btn0, "btn0"); @@ -650,6 +393,14 @@ this.btn0.Tag = "48"; this.btn0.UseVisualStyleBackColor = true; // + // btnSCL + // + resources.ApplyResources(this.btnSCL, "btnSCL"); + this.btnSCL.Name = "btnSCL"; + this.btnSCL.TabStop = false; + this.btnSCL.Tag = "145"; + this.btnSCL.UseVisualStyleBackColor = true; + // // btn9 // resources.ApplyResources(this.btn9, "btn9"); @@ -658,6 +409,14 @@ this.btn9.Tag = "57"; this.btn9.UseVisualStyleBackColor = true; // + // button34 + // + resources.ApplyResources(this.button34, "button34"); + this.button34.Name = "button34"; + this.button34.TabStop = false; + this.button34.Tag = ""; + this.button34.UseVisualStyleBackColor = true; + // // btn8 // resources.ApplyResources(this.btn8, "btn8"); @@ -666,6 +425,14 @@ this.btn8.Tag = "56"; this.btn8.UseVisualStyleBackColor = true; // + // btnSTOP + // + resources.ApplyResources(this.btnSTOP, "btnSTOP"); + this.btnSTOP.Name = "btnSTOP"; + this.btnSTOP.TabStop = false; + this.btnSTOP.Tag = "178"; + this.btnSTOP.UseVisualStyleBackColor = true; + // // btn7 // resources.ApplyResources(this.btn7, "btn7"); @@ -674,6 +441,14 @@ this.btn7.Tag = "55"; this.btn7.UseVisualStyleBackColor = true; // + // btnPLAYPAUSE + // + resources.ApplyResources(this.btnPLAYPAUSE, "btnPLAYPAUSE"); + this.btnPLAYPAUSE.Name = "btnPLAYPAUSE"; + this.btnPLAYPAUSE.TabStop = false; + this.btnPLAYPAUSE.Tag = "179"; + this.btnPLAYPAUSE.UseVisualStyleBackColor = true; + // // btn6 // resources.ApplyResources(this.btn6, "btn6"); @@ -682,6 +457,14 @@ this.btn6.Tag = "54"; this.btn6.UseVisualStyleBackColor = true; // + // btnNEXTTRACK + // + resources.ApplyResources(this.btnNEXTTRACK, "btnNEXTTRACK"); + this.btnNEXTTRACK.Name = "btnNEXTTRACK"; + this.btnNEXTTRACK.TabStop = false; + this.btnNEXTTRACK.Tag = "176"; + this.btnNEXTTRACK.UseVisualStyleBackColor = true; + // // btn5 // resources.ApplyResources(this.btn5, "btn5"); @@ -690,6 +473,14 @@ this.btn5.Tag = "53"; this.btn5.UseVisualStyleBackColor = true; // + // btnPREVTRACK + // + resources.ApplyResources(this.btnPREVTRACK, "btnPREVTRACK"); + this.btnPREVTRACK.Name = "btnPREVTRACK"; + this.btnPREVTRACK.TabStop = false; + this.btnPREVTRACK.Tag = "177"; + this.btnPREVTRACK.UseVisualStyleBackColor = true; + // // btn4 // resources.ApplyResources(this.btn4, "btn4"); @@ -698,6 +489,14 @@ this.btn4.Tag = "52"; this.btn4.UseVisualStyleBackColor = true; // + // button38 + // + resources.ApplyResources(this.button38, "button38"); + this.button38.Name = "button38"; + this.button38.TabStop = false; + this.button38.Tag = "175"; + this.button38.UseVisualStyleBackColor = true; + // // btn3 // resources.ApplyResources(this.btn3, "btn3"); @@ -706,6 +505,14 @@ this.btn3.Tag = "51"; this.btn3.UseVisualStyleBackColor = true; // + // button39 + // + resources.ApplyResources(this.button39, "button39"); + this.button39.Name = "button39"; + this.button39.TabStop = false; + this.button39.Tag = "174"; + this.button39.UseVisualStyleBackColor = true; + // // btn2 // resources.ApplyResources(this.btn2, "btn2"); @@ -714,6 +521,14 @@ this.btn2.Tag = "50"; this.btn2.UseVisualStyleBackColor = true; // + // button35 + // + resources.ApplyResources(this.button35, "button35"); + this.button35.Name = "button35"; + this.button35.TabStop = false; + this.button35.Tag = "173"; + this.button35.UseVisualStyleBackColor = true; + // // btnSPACE // resources.ApplyResources(this.btnSPACE, "btnSPACE"); @@ -722,6 +537,14 @@ this.btnSPACE.Tag = "32"; this.btnSPACE.UseVisualStyleBackColor = true; // + // btnBREAK + // + resources.ApplyResources(this.btnBREAK, "btnBREAK"); + this.btnBREAK.Name = "btnBREAK"; + this.btnBREAK.TabStop = false; + this.btnBREAK.Tag = "19"; + this.btnBREAK.UseVisualStyleBackColor = true; + // // btnLSHIFT // resources.ApplyResources(this.btnLSHIFT, "btnLSHIFT"); @@ -730,6 +553,14 @@ this.btnLSHIFT.Tag = "160"; this.btnLSHIFT.UseVisualStyleBackColor = true; // + // btnF12 + // + resources.ApplyResources(this.btnF12, "btnF12"); + this.btnF12.Name = "btnF12"; + this.btnF12.TabStop = false; + this.btnF12.Tag = "123"; + this.btnF12.UseVisualStyleBackColor = true; + // // btnRSHIFT // resources.ApplyResources(this.btnRSHIFT, "btnRSHIFT"); @@ -738,6 +569,14 @@ this.btnRSHIFT.Tag = "161"; this.btnRSHIFT.UseVisualStyleBackColor = true; // + // btnF10 + // + resources.ApplyResources(this.btnF10, "btnF10"); + this.btnF10.Name = "btnF10"; + this.btnF10.TabStop = false; + this.btnF10.Tag = "121"; + this.btnF10.UseVisualStyleBackColor = true; + // // btnSLASH // resources.ApplyResources(this.btnSLASH, "btnSLASH"); @@ -746,6 +585,14 @@ this.btnSLASH.Tag = "191"; this.btnSLASH.UseVisualStyleBackColor = true; // + // btnF11 + // + resources.ApplyResources(this.btnF11, "btnF11"); + this.btnF11.Name = "btnF11"; + this.btnF11.TabStop = false; + this.btnF11.Tag = "122"; + this.btnF11.UseVisualStyleBackColor = true; + // // btnPERIOD // resources.ApplyResources(this.btnPERIOD, "btnPERIOD"); @@ -754,6 +601,14 @@ this.btnPERIOD.Tag = "190"; this.btnPERIOD.UseVisualStyleBackColor = true; // + // btnTILDE + // + resources.ApplyResources(this.btnTILDE, "btnTILDE"); + this.btnTILDE.Name = "btnTILDE"; + this.btnTILDE.TabStop = false; + this.btnTILDE.Tag = "192"; + this.btnTILDE.UseVisualStyleBackColor = true; + // // btnCOMMA // resources.ApplyResources(this.btnCOMMA, "btnCOMMA"); @@ -770,6 +625,14 @@ this.btnM.Tag = "77"; this.btnM.UseVisualStyleBackColor = true; // + // btnNUMLOCK + // + resources.ApplyResources(this.btnNUMLOCK, "btnNUMLOCK"); + this.btnNUMLOCK.Name = "btnNUMLOCK"; + this.btnNUMLOCK.TabStop = false; + this.btnNUMLOCK.Tag = "144"; + this.btnNUMLOCK.UseVisualStyleBackColor = true; + // // btnN // resources.ApplyResources(this.btnN, "btnN"); @@ -778,6 +641,14 @@ this.btnN.Tag = "78"; this.btnN.UseVisualStyleBackColor = true; // + // btnNUM7 + // + resources.ApplyResources(this.btnNUM7, "btnNUM7"); + this.btnNUM7.Name = "btnNUM7"; + this.btnNUM7.TabStop = false; + this.btnNUM7.Tag = "103"; + this.btnNUM7.UseVisualStyleBackColor = true; + // // btnB // resources.ApplyResources(this.btnB, "btnB"); @@ -786,6 +657,14 @@ this.btnB.Tag = "66"; this.btnB.UseVisualStyleBackColor = true; // + // btnNUMSLASH + // + resources.ApplyResources(this.btnNUMSLASH, "btnNUMSLASH"); + this.btnNUMSLASH.Name = "btnNUMSLASH"; + this.btnNUMSLASH.TabStop = false; + this.btnNUMSLASH.Tag = "111"; + this.btnNUMSLASH.UseVisualStyleBackColor = true; + // // btnV // resources.ApplyResources(this.btnV, "btnV"); @@ -794,6 +673,14 @@ this.btnV.Tag = "86"; this.btnV.UseVisualStyleBackColor = true; // + // btnNUM8 + // + resources.ApplyResources(this.btnNUM8, "btnNUM8"); + this.btnNUM8.Name = "btnNUM8"; + this.btnNUM8.TabStop = false; + this.btnNUM8.Tag = "104"; + this.btnNUM8.UseVisualStyleBackColor = true; + // // btnC // resources.ApplyResources(this.btnC, "btnC"); @@ -802,6 +689,14 @@ this.btnC.Tag = "67"; this.btnC.UseVisualStyleBackColor = true; // + // btnNUMSTAR + // + resources.ApplyResources(this.btnNUMSTAR, "btnNUMSTAR"); + this.btnNUMSTAR.Name = "btnNUMSTAR"; + this.btnNUMSTAR.TabStop = false; + this.btnNUMSTAR.Tag = "106"; + this.btnNUMSTAR.UseVisualStyleBackColor = true; + // // btnX // resources.ApplyResources(this.btnX, "btnX"); @@ -810,6 +705,14 @@ this.btnX.Tag = "88"; this.btnX.UseVisualStyleBackColor = true; // + // btnNUM9 + // + resources.ApplyResources(this.btnNUM9, "btnNUM9"); + this.btnNUM9.Name = "btnNUM9"; + this.btnNUM9.TabStop = false; + this.btnNUM9.Tag = "105"; + this.btnNUM9.UseVisualStyleBackColor = true; + // // btnZ // resources.ApplyResources(this.btnZ, "btnZ"); @@ -818,6 +721,14 @@ this.btnZ.Tag = "90"; this.btnZ.UseVisualStyleBackColor = true; // + // btnNUMMINUS + // + resources.ApplyResources(this.btnNUMMINUS, "btnNUMMINUS"); + this.btnNUMMINUS.Name = "btnNUMMINUS"; + this.btnNUMMINUS.TabStop = false; + this.btnNUMMINUS.Tag = "109"; + this.btnNUMMINUS.UseVisualStyleBackColor = true; + // // btnRALT // resources.ApplyResources(this.btnRALT, "btnRALT"); @@ -826,6 +737,14 @@ this.btnRALT.Tag = "165"; this.btnRALT.UseVisualStyleBackColor = true; // + // btnNUMPLUS + // + resources.ApplyResources(this.btnNUMPLUS, "btnNUMPLUS"); + this.btnNUMPLUS.Name = "btnNUMPLUS"; + this.btnNUMPLUS.TabStop = false; + this.btnNUMPLUS.Tag = "107"; + this.btnNUMPLUS.UseVisualStyleBackColor = true; + // // button36 // resources.ApplyResources(this.button36, "button36"); @@ -834,6 +753,14 @@ this.button36.Tag = "92"; this.button36.UseVisualStyleBackColor = true; // + // btnNUMENTER + // + resources.ApplyResources(this.btnNUMENTER, "btnNUMENTER"); + this.btnNUMENTER.Name = "btnNUMENTER"; + this.btnNUMENTER.TabStop = false; + this.btnNUMENTER.Tag = "13"; + this.btnNUMENTER.UseVisualStyleBackColor = true; + // // btnWINDOWS // resources.ApplyResources(this.btnWINDOWS, "btnWINDOWS"); @@ -842,6 +769,14 @@ this.btnWINDOWS.Tag = "91"; this.btnWINDOWS.UseVisualStyleBackColor = true; // + // btnNUM4 + // + resources.ApplyResources(this.btnNUM4, "btnNUM4"); + this.btnNUM4.Name = "btnNUM4"; + this.btnNUM4.TabStop = false; + this.btnNUM4.Tag = "100"; + this.btnNUM4.UseVisualStyleBackColor = true; + // // btnLALT // resources.ApplyResources(this.btnLALT, "btnLALT"); @@ -850,6 +785,14 @@ this.btnLALT.Tag = "164"; this.btnLALT.UseVisualStyleBackColor = true; // + // btnNUM5 + // + resources.ApplyResources(this.btnNUM5, "btnNUM5"); + this.btnNUM5.Name = "btnNUM5"; + this.btnNUM5.TabStop = false; + this.btnNUM5.Tag = "101"; + this.btnNUM5.UseVisualStyleBackColor = true; + // // btnRCTRL // resources.ApplyResources(this.btnRCTRL, "btnRCTRL"); @@ -858,6 +801,14 @@ this.btnRCTRL.Tag = "163"; this.btnRCTRL.UseVisualStyleBackColor = true; // + // btnNUM1 + // + resources.ApplyResources(this.btnNUM1, "btnNUM1"); + this.btnNUM1.Name = "btnNUM1"; + this.btnNUM1.TabStop = false; + this.btnNUM1.Tag = "97"; + this.btnNUM1.UseVisualStyleBackColor = true; + // // btnLCTRL // resources.ApplyResources(this.btnLCTRL, "btnLCTRL"); @@ -866,6 +817,14 @@ this.btnLCTRL.Tag = "162"; this.btnLCTRL.UseVisualStyleBackColor = true; // + // btnNUM6 + // + resources.ApplyResources(this.btnNUM6, "btnNUM6"); + this.btnNUM6.Name = "btnNUM6"; + this.btnNUM6.TabStop = false; + this.btnNUM6.Tag = "102"; + this.btnNUM6.UseVisualStyleBackColor = true; + // // btnCAPS // resources.ApplyResources(this.btnCAPS, "btnCAPS"); @@ -874,6 +833,14 @@ this.btnCAPS.Tag = "20"; this.btnCAPS.UseVisualStyleBackColor = true; // + // btnNUM0 + // + resources.ApplyResources(this.btnNUM0, "btnNUM0"); + this.btnNUM0.Name = "btnNUM0"; + this.btnNUM0.TabStop = false; + this.btnNUM0.Tag = "96"; + this.btnNUM0.UseVisualStyleBackColor = true; + // // btnRETURN // resources.ApplyResources(this.btnRETURN, "btnRETURN"); @@ -882,6 +849,14 @@ this.btnRETURN.Tag = "13"; this.btnRETURN.UseVisualStyleBackColor = true; // + // btnNUM2 + // + resources.ApplyResources(this.btnNUM2, "btnNUM2"); + this.btnNUM2.Name = "btnNUM2"; + this.btnNUM2.TabStop = false; + this.btnNUM2.Tag = "98"; + this.btnNUM2.UseVisualStyleBackColor = true; + // // btnAPOSTROPHE // resources.ApplyResources(this.btnAPOSTROPHE, "btnAPOSTROPHE"); @@ -890,13 +865,84 @@ this.btnAPOSTROPHE.Tag = "222"; this.btnAPOSTROPHE.UseVisualStyleBackColor = true; // - // btnSEMICOLON + // btnNUM3 // - resources.ApplyResources(this.btnSEMICOLON, "btnSEMICOLON"); - this.btnSEMICOLON.Name = "btnSEMICOLON"; - this.btnSEMICOLON.TabStop = false; - this.btnSEMICOLON.Tag = "186"; - this.btnSEMICOLON.UseVisualStyleBackColor = true; + resources.ApplyResources(this.btnNUM3, "btnNUM3"); + this.btnNUM3.Name = "btnNUM3"; + this.btnNUM3.TabStop = false; + this.btnNUM3.Tag = "99"; + this.btnNUM3.UseVisualStyleBackColor = true; + // + // label1 + // + resources.ApplyResources(this.label1, "label1"); + this.label1.Name = "label1"; + // + // lbRumble + // + resources.ApplyResources(this.lbRumble, "lbRumble"); + this.lbRumble.Name = "lbRumble"; + // + // lbHeavy + // + resources.ApplyResources(this.lbHeavy, "lbHeavy"); + this.lbHeavy.Name = "lbHeavy"; + // + // lbLight + // + resources.ApplyResources(this.lbLight, "lbLight"); + this.lbLight.Name = "lbLight"; + // + // nUDHeavy + // + resources.ApplyResources(this.nUDHeavy, "nUDHeavy"); + this.nUDHeavy.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.nUDHeavy.Name = "nUDHeavy"; + this.nUDHeavy.ValueChanged += new System.EventHandler(this.nUD_ValueChanged); + // + // nUDLight + // + resources.ApplyResources(this.nUDLight, "nUDLight"); + this.nUDLight.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.nUDLight.Name = "nUDLight"; + this.nUDLight.ValueChanged += new System.EventHandler(this.nUD_ValueChanged); + // + // btnH + // + resources.ApplyResources(this.btnH, "btnH"); + this.btnH.Name = "btnH"; + this.btnH.TabStop = false; + this.btnH.Tag = "72"; + this.btnH.UseVisualStyleBackColor = true; + // + // nUDLightFlash + // + resources.ApplyResources(this.nUDLightFlash, "nUDLightFlash"); + this.nUDLightFlash.Maximum = new decimal(new int[] { + 20, + 0, + 0, + 0}); + this.nUDLightFlash.Name = "nUDLightFlash"; + // + // tBBlueBar + // + resources.ApplyResources(this.tBBlueBar, "tBBlueBar"); + this.tBBlueBar.BackColor = System.Drawing.Color.Blue; + this.tBBlueBar.Maximum = 255; + this.tBBlueBar.Name = "tBBlueBar"; + this.tBBlueBar.TickFrequency = 25; + this.tBBlueBar.TickStyle = System.Windows.Forms.TickStyle.None; + this.tBBlueBar.Value = 255; + this.tBBlueBar.ValueChanged += new System.EventHandler(this.blueBar_ValueChanged); // // btnL // @@ -922,13 +968,121 @@ this.btnJ.Tag = "74"; this.btnJ.UseVisualStyleBackColor = true; // - // btnH + // button5 // - resources.ApplyResources(this.btnH, "btnH"); - this.btnH.Name = "btnH"; - this.btnH.TabStop = false; - this.btnH.Tag = "72"; - this.btnH.UseVisualStyleBackColor = true; + resources.ApplyResources(this.button5, "button5"); + this.button5.Name = "button5"; + this.button5.TabStop = false; + this.button5.Tag = "39"; + this.button5.UseVisualStyleBackColor = true; + // + // tBGreenBar + // + resources.ApplyResources(this.tBGreenBar, "tBGreenBar"); + this.tBGreenBar.BackColor = System.Drawing.Color.Green; + this.tBGreenBar.Maximum = 255; + this.tBGreenBar.Name = "tBGreenBar"; + this.tBGreenBar.TickFrequency = 25; + this.tBGreenBar.TickStyle = System.Windows.Forms.TickStyle.None; + this.tBGreenBar.Value = 255; + this.tBGreenBar.ValueChanged += new System.EventHandler(this.greenBar_ValueChanged); + // + // tBRedBar + // + resources.ApplyResources(this.tBRedBar, "tBRedBar"); + this.tBRedBar.BackColor = System.Drawing.Color.Red; + this.tBRedBar.Maximum = 255; + this.tBRedBar.Name = "tBRedBar"; + this.tBRedBar.TickFrequency = 25; + this.tBRedBar.TickStyle = System.Windows.Forms.TickStyle.None; + this.tBRedBar.Value = 255; + this.tBRedBar.ValueChanged += new System.EventHandler(this.redBar_ValueChanged); + // + // lbBlue + // + resources.ApplyResources(this.lbBlue, "lbBlue"); + this.lbBlue.Name = "lbBlue"; + // + // lbGreen + // + resources.ApplyResources(this.lbGreen, "lbGreen"); + this.lbGreen.Name = "lbGreen"; + // + // btnSEMICOLON + // + resources.ApplyResources(this.btnSEMICOLON, "btnSEMICOLON"); + this.btnSEMICOLON.Name = "btnSEMICOLON"; + this.btnSEMICOLON.TabStop = false; + this.btnSEMICOLON.Tag = "186"; + this.btnSEMICOLON.UseVisualStyleBackColor = true; + // + // button7 + // + resources.ApplyResources(this.button7, "button7"); + this.button7.Name = "button7"; + this.button7.TabStop = false; + this.button7.Tag = "38"; + this.button7.UseVisualStyleBackColor = true; + // + // bnTest + // + resources.ApplyResources(this.bnTest, "bnTest"); + this.bnTest.Name = "bnTest"; + this.bnTest.UseVisualStyleBackColor = true; + this.bnTest.Click += new System.EventHandler(this.bnTest_Click); + // + // lbRed + // + resources.ApplyResources(this.lbRed, "lbRed"); + this.lbRed.Name = "lbRed"; + // + // button4 + // + resources.ApplyResources(this.button4, "button4"); + this.button4.Name = "button4"; + this.button4.TabStop = false; + this.button4.Tag = "37"; + this.button4.UseVisualStyleBackColor = true; + // + // nUDMouse + // + resources.ApplyResources(this.nUDMouse, "nUDMouse"); + this.nUDMouse.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.nUDMouse.Name = "nUDMouse"; + this.nUDMouse.Value = new decimal(new int[] { + 25, + 0, + 0, + 0}); + this.nUDMouse.ValueChanged += new System.EventHandler(this.nUDMouse_ValueChanged); + // + // button6 + // + resources.ApplyResources(this.button6, "button6"); + this.button6.Name = "button6"; + this.button6.TabStop = false; + this.button6.Tag = "40"; + this.button6.UseVisualStyleBackColor = true; + // + // bnColor + // + this.bnColor.BackColor = System.Drawing.Color.White; + resources.ApplyResources(this.bnColor, "bnColor"); + this.bnColor.Name = "bnColor"; + this.bnColor.UseVisualStyleBackColor = false; + this.bnColor.Click += new System.EventHandler(this.bnColor_Click); + // + // btnNUMDOT + // + resources.ApplyResources(this.btnNUMDOT, "btnNUMDOT"); + this.btnNUMDOT.Name = "btnNUMDOT"; + this.btnNUMDOT.TabStop = false; + this.btnNUMDOT.Tag = "110"; + this.btnNUMDOT.UseVisualStyleBackColor = true; // // btnG // @@ -938,6 +1092,13 @@ this.btnG.Tag = "71"; this.btnG.UseVisualStyleBackColor = true; // + // cbScanCode + // + resources.ApplyResources(this.cbScanCode, "cbScanCode"); + this.cbScanCode.Name = "cbScanCode"; + this.cbScanCode.TabStop = false; + this.cbScanCode.UseVisualStyleBackColor = true; + // // btnF // resources.ApplyResources(this.btnF, "btnF"); @@ -946,6 +1107,12 @@ this.btnF.Tag = "70"; this.btnF.UseVisualStyleBackColor = true; // + // lBTip + // + resources.ApplyResources(this.lBTip, "lBTip"); + this.lBTip.ForeColor = System.Drawing.SystemColors.GrayText; + this.lBTip.Name = "lBTip"; + // // btnD // resources.ApplyResources(this.btnD, "btnD"); @@ -954,6 +1121,15 @@ this.btnD.Tag = "68"; this.btnD.UseVisualStyleBackColor = true; // + // button3 + // + this.button3.Image = global::DS4Windows.Properties.Resources.A; + resources.ApplyResources(this.button3, "button3"); + this.button3.Name = "button3"; + this.button3.TabStop = false; + this.button3.Tag = "X360A Button"; + this.button3.UseVisualStyleBackColor = true; + // // btnS // resources.ApplyResources(this.btnS, "btnS"); @@ -962,444 +1138,6 @@ this.btnS.Tag = "83"; this.btnS.UseVisualStyleBackColor = true; // - // btnA - // - resources.ApplyResources(this.btnA, "btnA"); - this.btnA.Name = "btnA"; - this.btnA.TabStop = false; - this.btnA.Tag = "65"; - this.btnA.UseVisualStyleBackColor = true; - // - // btnTAB - // - resources.ApplyResources(this.btnTAB, "btnTAB"); - this.btnTAB.Name = "btnTAB"; - this.btnTAB.TabStop = false; - this.btnTAB.Tag = "9"; - this.btnTAB.UseVisualStyleBackColor = true; - // - // btnBACKSLASH - // - resources.ApplyResources(this.btnBACKSLASH, "btnBACKSLASH"); - this.btnBACKSLASH.Name = "btnBACKSLASH"; - this.btnBACKSLASH.TabStop = false; - this.btnBACKSLASH.Tag = "220"; - this.btnBACKSLASH.UseVisualStyleBackColor = true; - // - // btnCLOSEBRACKET - // - resources.ApplyResources(this.btnCLOSEBRACKET, "btnCLOSEBRACKET"); - this.btnCLOSEBRACKET.Name = "btnCLOSEBRACKET"; - this.btnCLOSEBRACKET.TabStop = false; - this.btnCLOSEBRACKET.Tag = "221"; - this.btnCLOSEBRACKET.UseVisualStyleBackColor = true; - // - // btnOPENBRACKET - // - resources.ApplyResources(this.btnOPENBRACKET, "btnOPENBRACKET"); - this.btnOPENBRACKET.Name = "btnOPENBRACKET"; - this.btnOPENBRACKET.TabStop = false; - this.btnOPENBRACKET.Tag = "219"; - this.btnOPENBRACKET.UseVisualStyleBackColor = true; - // - // btnP - // - resources.ApplyResources(this.btnP, "btnP"); - this.btnP.Name = "btnP"; - this.btnP.TabStop = false; - this.btnP.Tag = "80"; - this.btnP.UseVisualStyleBackColor = true; - // - // btnO - // - resources.ApplyResources(this.btnO, "btnO"); - this.btnO.Name = "btnO"; - this.btnO.TabStop = false; - this.btnO.Tag = "79"; - this.btnO.UseVisualStyleBackColor = true; - // - // btnI - // - resources.ApplyResources(this.btnI, "btnI"); - this.btnI.Name = "btnI"; - this.btnI.TabStop = false; - this.btnI.Tag = "73"; - this.btnI.UseVisualStyleBackColor = true; - // - // btnU - // - resources.ApplyResources(this.btnU, "btnU"); - this.btnU.Name = "btnU"; - this.btnU.TabStop = false; - this.btnU.Tag = "85"; - this.btnU.UseVisualStyleBackColor = true; - // - // btnY - // - resources.ApplyResources(this.btnY, "btnY"); - this.btnY.Name = "btnY"; - this.btnY.TabStop = false; - this.btnY.Tag = "89"; - this.btnY.UseVisualStyleBackColor = true; - // - // btnT - // - resources.ApplyResources(this.btnT, "btnT"); - this.btnT.Name = "btnT"; - this.btnT.TabStop = false; - this.btnT.Tag = "84"; - this.btnT.UseVisualStyleBackColor = true; - // - // btnR - // - resources.ApplyResources(this.btnR, "btnR"); - this.btnR.Name = "btnR"; - this.btnR.TabStop = false; - this.btnR.Tag = "82"; - this.btnR.UseVisualStyleBackColor = true; - // - // bTNRIGHTMOUSE - // - resources.ApplyResources(this.bTNRIGHTMOUSE, "bTNRIGHTMOUSE"); - this.bTNRIGHTMOUSE.Name = "bTNRIGHTMOUSE"; - this.bTNRIGHTMOUSE.TabStop = false; - this.bTNRIGHTMOUSE.Tag = "Right Mouse Button"; - this.bTNRIGHTMOUSE.UseVisualStyleBackColor = true; - // - // btnE - // - resources.ApplyResources(this.btnE, "btnE"); - this.btnE.Name = "btnE"; - this.btnE.TabStop = false; - this.btnE.Tag = "69"; - this.btnE.UseVisualStyleBackColor = true; - // - // bnWHEELDOWN - // - resources.ApplyResources(this.bnWHEELDOWN, "bnWHEELDOWN"); - this.bnWHEELDOWN.Name = "bnWHEELDOWN"; - this.bnWHEELDOWN.TabStop = false; - this.bnWHEELDOWN.Tag = "Mouse Wheel Down"; - this.bnWHEELDOWN.UseVisualStyleBackColor = true; - // - // bnWHEELUP - // - resources.ApplyResources(this.bnWHEELUP, "bnWHEELUP"); - this.bnWHEELUP.Name = "bnWHEELUP"; - this.bnWHEELUP.TabStop = false; - this.bnWHEELUP.Tag = "Mouse Wheel Up"; - this.bnWHEELUP.UseVisualStyleBackColor = true; - // - // btnMIDDLEMOUSE - // - resources.ApplyResources(this.btnMIDDLEMOUSE, "btnMIDDLEMOUSE"); - this.btnMIDDLEMOUSE.Name = "btnMIDDLEMOUSE"; - this.btnMIDDLEMOUSE.TabStop = false; - this.btnMIDDLEMOUSE.Tag = "Middle Mouse Button"; - this.btnMIDDLEMOUSE.UseVisualStyleBackColor = true; - // - // btnW - // - resources.ApplyResources(this.btnW, "btnW"); - this.btnW.Name = "btnW"; - this.btnW.TabStop = false; - this.btnW.Tag = "87"; - this.btnW.UseVisualStyleBackColor = true; - // - // button33 - // - resources.ApplyResources(this.button33, "button33"); - this.button33.Name = "button33"; - this.button33.TabStop = false; - this.button33.Tag = "5th Mouse Button"; - this.button33.UseVisualStyleBackColor = true; - // - // button30 - // - resources.ApplyResources(this.button30, "button30"); - this.button30.Name = "button30"; - this.button30.TabStop = false; - this.button30.Tag = "4th Mouse Button"; - this.button30.UseVisualStyleBackColor = true; - // - // btnMOUSERIGHT - // - resources.ApplyResources(this.btnMOUSERIGHT, "btnMOUSERIGHT"); - this.btnMOUSERIGHT.Name = "btnMOUSERIGHT"; - this.btnMOUSERIGHT.TabStop = false; - this.btnMOUSERIGHT.Tag = "Mouse Right"; - this.btnMOUSERIGHT.UseVisualStyleBackColor = true; - // - // btnMOUSELEFT - // - resources.ApplyResources(this.btnMOUSELEFT, "btnMOUSELEFT"); - this.btnMOUSELEFT.Name = "btnMOUSELEFT"; - this.btnMOUSELEFT.TabStop = false; - this.btnMOUSELEFT.Tag = "Mouse Left"; - this.btnMOUSELEFT.UseVisualStyleBackColor = true; - // - // btnMOUSEDOWN - // - resources.ApplyResources(this.btnMOUSEDOWN, "btnMOUSEDOWN"); - this.btnMOUSEDOWN.Name = "btnMOUSEDOWN"; - this.btnMOUSEDOWN.TabStop = false; - this.btnMOUSEDOWN.Tag = "Mouse Down"; - this.btnMOUSEDOWN.UseVisualStyleBackColor = true; - // - // btnMOUSEUP - // - resources.ApplyResources(this.btnMOUSEUP, "btnMOUSEUP"); - this.btnMOUSEUP.Name = "btnMOUSEUP"; - this.btnMOUSEUP.TabStop = false; - this.btnMOUSEUP.Tag = "Mouse Up"; - this.btnMOUSEUP.UseVisualStyleBackColor = true; - // - // btnLEFTMOUSE - // - resources.ApplyResources(this.btnLEFTMOUSE, "btnLEFTMOUSE"); - this.btnLEFTMOUSE.Name = "btnLEFTMOUSE"; - this.btnLEFTMOUSE.TabStop = false; - this.btnLEFTMOUSE.Tag = "Left Mouse Button"; - this.btnLEFTMOUSE.UseVisualStyleBackColor = true; - // - // btnQ - // - resources.ApplyResources(this.btnQ, "btnQ"); - this.btnQ.Name = "btnQ"; - this.btnQ.TabStop = false; - this.btnQ.Tag = "81"; - this.btnQ.UseVisualStyleBackColor = true; - // - // pictureBox2 - // - resources.ApplyResources(this.pictureBox2, "pictureBox2"); - this.pictureBox2.Image = global::DS4Windows.Properties.Resources.mouse; - this.pictureBox2.Name = "pictureBox2"; - this.pictureBox2.TabStop = false; - // - // cbToggle - // - resources.ApplyResources(this.cbToggle, "cbToggle"); - this.cbToggle.Name = "cbToggle"; - this.cbToggle.TabStop = false; - this.cbToggle.UseVisualStyleBackColor = true; - this.cbToggle.CheckedChanged += new System.EventHandler(this.cbToggle_CheckedChanged); - // - // btnUNBOUND2 - // - resources.ApplyResources(this.btnUNBOUND2, "btnUNBOUND2"); - this.btnUNBOUND2.Name = "btnUNBOUND2"; - this.btnUNBOUND2.TabStop = false; - this.btnUNBOUND2.Tag = "X360Unbound"; - this.btnUNBOUND2.UseVisualStyleBackColor = true; - // - // button13 - // - resources.ApplyResources(this.button13, "button13"); - this.button13.Image = global::DS4Windows.Properties.Resources.LT; - this.button13.Name = "button13"; - this.button13.TabStop = false; - this.button13.Tag = "X360Left Trigger"; - this.button13.UseVisualStyleBackColor = true; - // - // button2 - // - resources.ApplyResources(this.button2, "button2"); - this.button2.Image = global::DS4Windows.Properties.Resources.RT; - this.button2.Name = "button2"; - this.button2.TabStop = false; - this.button2.Tag = "X360Right Trigger"; - this.button2.UseVisualStyleBackColor = true; - // - // btnRSL - // - resources.ApplyResources(this.btnRSL, "btnRSL"); - this.btnRSL.Image = global::DS4Windows.Properties.Resources.RSL; - this.btnRSL.Name = "btnRSL"; - this.btnRSL.TabStop = false; - this.btnRSL.Tag = "X360Right X-Axis-"; - this.btnRSL.UseVisualStyleBackColor = true; - // - // btnLSL - // - resources.ApplyResources(this.btnLSL, "btnLSL"); - this.btnLSL.Image = global::DS4Windows.Properties.Resources.LSL; - this.btnLSL.Name = "btnLSL"; - this.btnLSL.TabStop = false; - this.btnLSL.Tag = "X360Left X-Axis-"; - this.btnLSL.UseVisualStyleBackColor = true; - // - // btnRSD - // - resources.ApplyResources(this.btnRSD, "btnRSD"); - this.btnRSD.Image = global::DS4Windows.Properties.Resources.RSD; - this.btnRSD.Name = "btnRSD"; - this.btnRSD.TabStop = false; - this.btnRSD.Tag = "X360Right Y-Axis+"; - this.btnRSD.UseVisualStyleBackColor = true; - // - // btnLSD - // - resources.ApplyResources(this.btnLSD, "btnLSD"); - this.btnLSD.Image = global::DS4Windows.Properties.Resources.LSD; - this.btnLSD.Name = "btnLSD"; - this.btnLSD.TabStop = false; - this.btnLSD.Tag = "X360Left Y-Axis+"; - this.btnLSD.UseVisualStyleBackColor = true; - // - // button19 - // - resources.ApplyResources(this.button19, "button19"); - this.button19.Image = global::DS4Windows.Properties.Resources.LEFT; - this.button19.Name = "button19"; - this.button19.TabStop = false; - this.button19.Tag = "X360Left Button"; - this.button19.UseVisualStyleBackColor = true; - // - // button20 - // - resources.ApplyResources(this.button20, "button20"); - this.button20.Image = global::DS4Windows.Properties.Resources.DOWN; - this.button20.Name = "button20"; - this.button20.TabStop = false; - this.button20.Tag = "X360Down Button"; - this.button20.UseVisualStyleBackColor = true; - // - // button18 - // - resources.ApplyResources(this.button18, "button18"); - this.button18.Image = global::DS4Windows.Properties.Resources.UP; - this.button18.Name = "button18"; - this.button18.TabStop = false; - this.button18.Tag = "X360Up Button"; - this.button18.UseVisualStyleBackColor = true; - // - // button17 - // - resources.ApplyResources(this.button17, "button17"); - this.button17.Image = global::DS4Windows.Properties.Resources.RIGHT; - this.button17.Name = "button17"; - this.button17.TabStop = false; - this.button17.Tag = "X360Right Button"; - this.button17.UseVisualStyleBackColor = true; - // - // btnRSR - // - resources.ApplyResources(this.btnRSR, "btnRSR"); - this.btnRSR.Image = global::DS4Windows.Properties.Resources.RSR; - this.btnRSR.Name = "btnRSR"; - this.btnRSR.TabStop = false; - this.btnRSR.Tag = "X360Right X-Axis+"; - this.btnRSR.UseVisualStyleBackColor = true; - // - // btnRS - // - resources.ApplyResources(this.btnRS, "btnRS"); - this.btnRS.Image = global::DS4Windows.Properties.Resources.RS; - this.btnRS.Name = "btnRS"; - this.btnRS.TabStop = false; - this.btnRS.Tag = "X360Right Stick"; - this.btnRS.UseVisualStyleBackColor = true; - // - // btnLSR - // - resources.ApplyResources(this.btnLSR, "btnLSR"); - this.btnLSR.Image = global::DS4Windows.Properties.Resources.LSR; - this.btnLSR.Name = "btnLSR"; - this.btnLSR.TabStop = false; - this.btnLSR.Tag = "X360Left X-Axis+"; - this.btnLSR.UseVisualStyleBackColor = true; - // - // btnRSU - // - resources.ApplyResources(this.btnRSU, "btnRSU"); - this.btnRSU.Image = global::DS4Windows.Properties.Resources.RSU; - this.btnRSU.Name = "btnRSU"; - this.btnRSU.TabStop = false; - this.btnRSU.Tag = "X360Right Y-Axis-"; - this.btnRSU.UseVisualStyleBackColor = true; - // - // btnLS - // - resources.ApplyResources(this.btnLS, "btnLS"); - this.btnLS.Image = global::DS4Windows.Properties.Resources.LS; - this.btnLS.Name = "btnLS"; - this.btnLS.TabStop = false; - this.btnLS.Tag = "X360Left Stick"; - this.btnLS.UseVisualStyleBackColor = true; - // - // btnLSU - // - resources.ApplyResources(this.btnLSU, "btnLSU"); - this.btnLSU.Image = global::DS4Windows.Properties.Resources.LSU; - this.btnLSU.Name = "btnLSU"; - this.btnLSU.TabStop = false; - this.btnLSU.Tag = "X360Left Y-Axis-"; - this.btnLSU.UseVisualStyleBackColor = true; - // - // button11 - // - resources.ApplyResources(this.button11, "button11"); - this.button11.Image = global::DS4Windows.Properties.Resources.LB; - this.button11.Name = "button11"; - this.button11.TabStop = false; - this.button11.Tag = "X360Left Bumper"; - this.button11.UseVisualStyleBackColor = true; - // - // btnRB - // - resources.ApplyResources(this.btnRB, "btnRB"); - this.btnRB.Image = global::DS4Windows.Properties.Resources.RB; - this.btnRB.Name = "btnRB"; - this.btnRB.TabStop = false; - this.btnRB.Tag = "X360Right Bumper"; - this.btnRB.UseVisualStyleBackColor = true; - // - // button10 - // - resources.ApplyResources(this.button10, "button10"); - this.button10.Image = global::DS4Windows.Properties.Resources.Y; - this.button10.Name = "button10"; - this.button10.TabStop = false; - this.button10.Tag = "X360Y Button"; - this.button10.UseVisualStyleBackColor = true; - // - // button9 - // - resources.ApplyResources(this.button9, "button9"); - this.button9.Image = global::DS4Windows.Properties.Resources.X; - this.button9.Name = "button9"; - this.button9.TabStop = false; - this.button9.Tag = "X360X Button"; - this.button9.UseVisualStyleBackColor = true; - // - // button8 - // - resources.ApplyResources(this.button8, "button8"); - this.button8.Image = global::DS4Windows.Properties.Resources.B; - this.button8.Name = "button8"; - this.button8.TabStop = false; - this.button8.Tag = "X360B Button"; - this.button8.UseVisualStyleBackColor = true; - // - // button23 - // - resources.ApplyResources(this.button23, "button23"); - this.button23.Image = global::DS4Windows.Properties.Resources.BACK; - this.button23.Name = "button23"; - this.button23.TabStop = false; - this.button23.Tag = "X360Back"; - this.button23.UseVisualStyleBackColor = true; - // - // button22 - // - resources.ApplyResources(this.button22, "button22"); - this.button22.Image = global::DS4Windows.Properties.Resources.START; - this.button22.Name = "button22"; - this.button22.TabStop = false; - this.button22.Tag = "X360Start"; - this.button22.UseVisualStyleBackColor = true; - // // button21 // resources.ApplyResources(this.button21, "button21"); @@ -1408,30 +1146,240 @@ this.button21.Tag = "X360Guide"; this.button21.UseVisualStyleBackColor = true; // - // button3 + // btnA // - resources.ApplyResources(this.button3, "button3"); - this.button3.Image = global::DS4Windows.Properties.Resources.A; - this.button3.Name = "button3"; - this.button3.TabStop = false; - this.button3.Tag = "X360A Button"; - this.button3.UseVisualStyleBackColor = true; + resources.ApplyResources(this.btnA, "btnA"); + this.btnA.Name = "btnA"; + this.btnA.TabStop = false; + this.btnA.Tag = "65"; + this.btnA.UseVisualStyleBackColor = true; + // + // button22 + // + this.button22.Image = global::DS4Windows.Properties.Resources.START; + resources.ApplyResources(this.button22, "button22"); + this.button22.Name = "button22"; + this.button22.TabStop = false; + this.button22.Tag = "X360Start"; + this.button22.UseVisualStyleBackColor = true; + // + // btnTAB + // + resources.ApplyResources(this.btnTAB, "btnTAB"); + this.btnTAB.Name = "btnTAB"; + this.btnTAB.TabStop = false; + this.btnTAB.Tag = "9"; + this.btnTAB.UseVisualStyleBackColor = true; + // + // button23 + // + this.button23.Image = global::DS4Windows.Properties.Resources.BACK; + resources.ApplyResources(this.button23, "button23"); + this.button23.Name = "button23"; + this.button23.TabStop = false; + this.button23.Tag = "X360Back"; + this.button23.UseVisualStyleBackColor = true; + // + // btnBACKSLASH + // + resources.ApplyResources(this.btnBACKSLASH, "btnBACKSLASH"); + this.btnBACKSLASH.Name = "btnBACKSLASH"; + this.btnBACKSLASH.TabStop = false; + this.btnBACKSLASH.Tag = "220"; + this.btnBACKSLASH.UseVisualStyleBackColor = true; + // + // button8 + // + this.button8.Image = global::DS4Windows.Properties.Resources.B; + resources.ApplyResources(this.button8, "button8"); + this.button8.Name = "button8"; + this.button8.TabStop = false; + this.button8.Tag = "X360B Button"; + this.button8.UseVisualStyleBackColor = true; + // + // btnCLOSEBRACKET + // + resources.ApplyResources(this.btnCLOSEBRACKET, "btnCLOSEBRACKET"); + this.btnCLOSEBRACKET.Name = "btnCLOSEBRACKET"; + this.btnCLOSEBRACKET.TabStop = false; + this.btnCLOSEBRACKET.Tag = "221"; + this.btnCLOSEBRACKET.UseVisualStyleBackColor = true; + // + // button9 + // + this.button9.Image = global::DS4Windows.Properties.Resources.X; + resources.ApplyResources(this.button9, "button9"); + this.button9.Name = "button9"; + this.button9.TabStop = false; + this.button9.Tag = "X360X Button"; + this.button9.UseVisualStyleBackColor = true; + // + // btnOPENBRACKET + // + resources.ApplyResources(this.btnOPENBRACKET, "btnOPENBRACKET"); + this.btnOPENBRACKET.Name = "btnOPENBRACKET"; + this.btnOPENBRACKET.TabStop = false; + this.btnOPENBRACKET.Tag = "219"; + this.btnOPENBRACKET.UseVisualStyleBackColor = true; + // + // button10 + // + this.button10.Image = global::DS4Windows.Properties.Resources.Y; + resources.ApplyResources(this.button10, "button10"); + this.button10.Name = "button10"; + this.button10.TabStop = false; + this.button10.Tag = "X360Y Button"; + this.button10.UseVisualStyleBackColor = true; + // + // btnP + // + resources.ApplyResources(this.btnP, "btnP"); + this.btnP.Name = "btnP"; + this.btnP.TabStop = false; + this.btnP.Tag = "80"; + this.btnP.UseVisualStyleBackColor = true; + // + // button11 + // + this.button11.Image = global::DS4Windows.Properties.Resources.LB; + resources.ApplyResources(this.button11, "button11"); + this.button11.Name = "button11"; + this.button11.TabStop = false; + this.button11.Tag = "X360Left Bumper"; + this.button11.UseVisualStyleBackColor = true; + // + // btnO + // + resources.ApplyResources(this.btnO, "btnO"); + this.btnO.Name = "btnO"; + this.btnO.TabStop = false; + this.btnO.Tag = "79"; + this.btnO.UseVisualStyleBackColor = true; + // + // button17 + // + this.button17.Image = global::DS4Windows.Properties.Resources.RIGHT; + resources.ApplyResources(this.button17, "button17"); + this.button17.Name = "button17"; + this.button17.TabStop = false; + this.button17.Tag = "X360Right Button"; + this.button17.UseVisualStyleBackColor = true; + // + // btnI + // + resources.ApplyResources(this.btnI, "btnI"); + this.btnI.Name = "btnI"; + this.btnI.TabStop = false; + this.btnI.Tag = "73"; + this.btnI.UseVisualStyleBackColor = true; + // + // button18 + // + this.button18.Image = global::DS4Windows.Properties.Resources.UP; + resources.ApplyResources(this.button18, "button18"); + this.button18.Name = "button18"; + this.button18.TabStop = false; + this.button18.Tag = "X360Up Button"; + this.button18.UseVisualStyleBackColor = true; + // + // btnU + // + resources.ApplyResources(this.btnU, "btnU"); + this.btnU.Name = "btnU"; + this.btnU.TabStop = false; + this.btnU.Tag = "85"; + this.btnU.UseVisualStyleBackColor = true; + // + // button20 + // + this.button20.Image = global::DS4Windows.Properties.Resources.DOWN; + resources.ApplyResources(this.button20, "button20"); + this.button20.Name = "button20"; + this.button20.TabStop = false; + this.button20.Tag = "X360Down Button"; + this.button20.UseVisualStyleBackColor = true; + // + // btnY + // + resources.ApplyResources(this.btnY, "btnY"); + this.btnY.Name = "btnY"; + this.btnY.TabStop = false; + this.btnY.Tag = "89"; + this.btnY.UseVisualStyleBackColor = true; + // + // button19 + // + this.button19.Image = global::DS4Windows.Properties.Resources.LEFT; + resources.ApplyResources(this.button19, "button19"); + this.button19.Name = "button19"; + this.button19.TabStop = false; + this.button19.Tag = "X360Left Button"; + this.button19.UseVisualStyleBackColor = true; + // + // btnT + // + resources.ApplyResources(this.btnT, "btnT"); + this.btnT.Name = "btnT"; + this.btnT.TabStop = false; + this.btnT.Tag = "84"; + this.btnT.UseVisualStyleBackColor = true; + // + // button13 + // + this.button13.Image = global::DS4Windows.Properties.Resources.LT; + resources.ApplyResources(this.button13, "button13"); + this.button13.Name = "button13"; + this.button13.TabStop = false; + this.button13.Tag = "X360Left Trigger"; + this.button13.UseVisualStyleBackColor = true; + // + // btnR + // + resources.ApplyResources(this.btnR, "btnR"); + this.btnR.Name = "btnR"; + this.btnR.TabStop = false; + this.btnR.Tag = "82"; + this.btnR.UseVisualStyleBackColor = true; // // X360Label // resources.ApplyResources(this.X360Label, "X360Label"); this.X360Label.Name = "X360Label"; // + // bTNRIGHTMOUSE + // + resources.ApplyResources(this.bTNRIGHTMOUSE, "bTNRIGHTMOUSE"); + this.bTNRIGHTMOUSE.Name = "bTNRIGHTMOUSE"; + this.bTNRIGHTMOUSE.TabStop = false; + this.bTNRIGHTMOUSE.Tag = "Right Mouse Button"; + this.bTNRIGHTMOUSE.UseVisualStyleBackColor = true; + // // KBMlabel // resources.ApplyResources(this.KBMlabel, "KBMlabel"); this.KBMlabel.Name = "KBMlabel"; // + // btnE + // + resources.ApplyResources(this.btnE, "btnE"); + this.btnE.Name = "btnE"; + this.btnE.TabStop = false; + this.btnE.Tag = "69"; + this.btnE.UseVisualStyleBackColor = true; + // // lBMacroOn // resources.ApplyResources(this.lBMacroOn, "lBMacroOn"); this.lBMacroOn.Name = "lBMacroOn"; // + // bnWHEELDOWN + // + resources.ApplyResources(this.bnWHEELDOWN, "bnWHEELDOWN"); + this.bnWHEELDOWN.Name = "bnWHEELDOWN"; + this.bnWHEELDOWN.TabStop = false; + this.bnWHEELDOWN.Tag = "Mouse Wheel Down"; + this.bnWHEELDOWN.UseVisualStyleBackColor = true; + // // bnMacro // resources.ApplyResources(this.bnMacro, "bnMacro"); @@ -1440,11 +1388,209 @@ this.bnMacro.UseVisualStyleBackColor = true; this.bnMacro.Click += new System.EventHandler(this.btnMacro_Click); // - // pictureBox1 + // bnWHEELUP // - resources.ApplyResources(this.pictureBox1, "pictureBox1"); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.TabStop = false; + resources.ApplyResources(this.bnWHEELUP, "bnWHEELUP"); + this.bnWHEELUP.Name = "bnWHEELUP"; + this.bnWHEELUP.TabStop = false; + this.bnWHEELUP.Tag = "Mouse Wheel Up"; + this.bnWHEELUP.UseVisualStyleBackColor = true; + // + // btnRSL + // + this.btnRSL.Image = global::DS4Windows.Properties.Resources.RSL; + resources.ApplyResources(this.btnRSL, "btnRSL"); + this.btnRSL.Name = "btnRSL"; + this.btnRSL.TabStop = false; + this.btnRSL.Tag = "X360Right X-Axis-"; + this.btnRSL.UseVisualStyleBackColor = true; + // + // btnMIDDLEMOUSE + // + resources.ApplyResources(this.btnMIDDLEMOUSE, "btnMIDDLEMOUSE"); + this.btnMIDDLEMOUSE.Name = "btnMIDDLEMOUSE"; + this.btnMIDDLEMOUSE.TabStop = false; + this.btnMIDDLEMOUSE.Tag = "Middle Mouse Button"; + this.btnMIDDLEMOUSE.UseVisualStyleBackColor = true; + // + // btnRSD + // + this.btnRSD.Image = global::DS4Windows.Properties.Resources.RSD; + resources.ApplyResources(this.btnRSD, "btnRSD"); + this.btnRSD.Name = "btnRSD"; + this.btnRSD.TabStop = false; + this.btnRSD.Tag = "X360Right Y-Axis+"; + this.btnRSD.UseVisualStyleBackColor = true; + // + // btnW + // + resources.ApplyResources(this.btnW, "btnW"); + this.btnW.Name = "btnW"; + this.btnW.TabStop = false; + this.btnW.Tag = "87"; + this.btnW.UseVisualStyleBackColor = true; + // + // btnRSR + // + this.btnRSR.Image = global::DS4Windows.Properties.Resources.RSR; + resources.ApplyResources(this.btnRSR, "btnRSR"); + this.btnRSR.Name = "btnRSR"; + this.btnRSR.TabStop = false; + this.btnRSR.Tag = "X360Right X-Axis+"; + this.btnRSR.UseVisualStyleBackColor = true; + // + // button33 + // + resources.ApplyResources(this.button33, "button33"); + this.button33.Name = "button33"; + this.button33.TabStop = false; + this.button33.Tag = "5th Mouse Button"; + this.button33.UseVisualStyleBackColor = true; + // + // btnRB + // + this.btnRB.Image = global::DS4Windows.Properties.Resources.RB; + resources.ApplyResources(this.btnRB, "btnRB"); + this.btnRB.Name = "btnRB"; + this.btnRB.TabStop = false; + this.btnRB.Tag = "X360Right Bumper"; + this.btnRB.UseVisualStyleBackColor = true; + // + // button30 + // + resources.ApplyResources(this.button30, "button30"); + this.button30.Name = "button30"; + this.button30.TabStop = false; + this.button30.Tag = "4th Mouse Button"; + this.button30.UseVisualStyleBackColor = true; + // + // btnLSL + // + this.btnLSL.Image = global::DS4Windows.Properties.Resources.LSL; + resources.ApplyResources(this.btnLSL, "btnLSL"); + this.btnLSL.Name = "btnLSL"; + this.btnLSL.TabStop = false; + this.btnLSL.Tag = "X360Left X-Axis-"; + this.btnLSL.UseVisualStyleBackColor = true; + // + // btnMOUSERIGHT + // + resources.ApplyResources(this.btnMOUSERIGHT, "btnMOUSERIGHT"); + this.btnMOUSERIGHT.Name = "btnMOUSERIGHT"; + this.btnMOUSERIGHT.TabStop = false; + this.btnMOUSERIGHT.Tag = "Mouse Right"; + this.btnMOUSERIGHT.UseVisualStyleBackColor = true; + // + // btnRSU + // + this.btnRSU.Image = global::DS4Windows.Properties.Resources.RSU; + resources.ApplyResources(this.btnRSU, "btnRSU"); + this.btnRSU.Name = "btnRSU"; + this.btnRSU.TabStop = false; + this.btnRSU.Tag = "X360Right Y-Axis-"; + this.btnRSU.UseVisualStyleBackColor = true; + // + // btnMOUSELEFT + // + resources.ApplyResources(this.btnMOUSELEFT, "btnMOUSELEFT"); + this.btnMOUSELEFT.Name = "btnMOUSELEFT"; + this.btnMOUSELEFT.TabStop = false; + this.btnMOUSELEFT.Tag = "Mouse Left"; + this.btnMOUSELEFT.UseVisualStyleBackColor = true; + // + // btnLSD + // + this.btnLSD.Image = global::DS4Windows.Properties.Resources.LSD; + resources.ApplyResources(this.btnLSD, "btnLSD"); + this.btnLSD.Name = "btnLSD"; + this.btnLSD.TabStop = false; + this.btnLSD.Tag = "X360Left Y-Axis+"; + this.btnLSD.UseVisualStyleBackColor = true; + // + // btnMOUSEDOWN + // + resources.ApplyResources(this.btnMOUSEDOWN, "btnMOUSEDOWN"); + this.btnMOUSEDOWN.Name = "btnMOUSEDOWN"; + this.btnMOUSEDOWN.TabStop = false; + this.btnMOUSEDOWN.Tag = "Mouse Down"; + this.btnMOUSEDOWN.UseVisualStyleBackColor = true; + // + // button2 + // + this.button2.Image = global::DS4Windows.Properties.Resources.RT; + resources.ApplyResources(this.button2, "button2"); + this.button2.Name = "button2"; + this.button2.TabStop = false; + this.button2.Tag = "X360Right Trigger"; + this.button2.UseVisualStyleBackColor = true; + // + // btnMOUSEUP + // + resources.ApplyResources(this.btnMOUSEUP, "btnMOUSEUP"); + this.btnMOUSEUP.Name = "btnMOUSEUP"; + this.btnMOUSEUP.TabStop = false; + this.btnMOUSEUP.Tag = "Mouse Up"; + this.btnMOUSEUP.UseVisualStyleBackColor = true; + // + // btnLSR + // + this.btnLSR.Image = global::DS4Windows.Properties.Resources.LSR; + resources.ApplyResources(this.btnLSR, "btnLSR"); + this.btnLSR.Name = "btnLSR"; + this.btnLSR.TabStop = false; + this.btnLSR.Tag = "X360Left X-Axis+"; + this.btnLSR.UseVisualStyleBackColor = true; + // + // btnLEFTMOUSE + // + resources.ApplyResources(this.btnLEFTMOUSE, "btnLEFTMOUSE"); + this.btnLEFTMOUSE.Name = "btnLEFTMOUSE"; + this.btnLEFTMOUSE.TabStop = false; + this.btnLEFTMOUSE.Tag = "Left Mouse Button"; + this.btnLEFTMOUSE.UseVisualStyleBackColor = true; + // + // btnRS + // + this.btnRS.Image = global::DS4Windows.Properties.Resources.RS; + resources.ApplyResources(this.btnRS, "btnRS"); + this.btnRS.Name = "btnRS"; + this.btnRS.TabStop = false; + this.btnRS.Tag = "X360Right Stick"; + this.btnRS.UseVisualStyleBackColor = true; + // + // btnQ + // + resources.ApplyResources(this.btnQ, "btnQ"); + this.btnQ.Name = "btnQ"; + this.btnQ.TabStop = false; + this.btnQ.Tag = "81"; + this.btnQ.UseVisualStyleBackColor = true; + // + // btnLSU + // + this.btnLSU.Image = global::DS4Windows.Properties.Resources.LSU; + resources.ApplyResources(this.btnLSU, "btnLSU"); + this.btnLSU.Name = "btnLSU"; + this.btnLSU.TabStop = false; + this.btnLSU.Tag = "X360Left Y-Axis-"; + this.btnLSU.UseVisualStyleBackColor = true; + // + // btnLS + // + this.btnLS.Image = global::DS4Windows.Properties.Resources.LS; + resources.ApplyResources(this.btnLS, "btnLS"); + this.btnLS.Name = "btnLS"; + this.btnLS.TabStop = false; + this.btnLS.Tag = "X360Left Stick"; + this.btnLS.UseVisualStyleBackColor = true; + // + // cbToggle + // + resources.ApplyResources(this.cbToggle, "cbToggle"); + this.cbToggle.Name = "cbToggle"; + this.cbToggle.TabStop = false; + this.cbToggle.UseVisualStyleBackColor = true; + this.cbToggle.CheckedChanged += new System.EventHandler(this.cbToggle_CheckedChanged); // // btnFallBack // @@ -1453,166 +1599,244 @@ this.btnFallBack.TabStop = false; this.btnFallBack.UseVisualStyleBackColor = true; // + // btnUNBOUND2 + // + resources.ApplyResources(this.btnUNBOUND2, "btnUNBOUND2"); + this.btnUNBOUND2.Name = "btnUNBOUND2"; + this.btnUNBOUND2.TabStop = false; + this.btnUNBOUND2.Tag = "X360Unbound"; + this.btnUNBOUND2.UseVisualStyleBackColor = true; + // + // btnESC + // + resources.ApplyResources(this.btnESC, "btnESC"); + this.btnESC.Name = "btnESC"; + this.btnESC.TabStop = false; + this.btnESC.Tag = "27"; + this.btnESC.UseVisualStyleBackColor = true; + // + // gBExtras + // + this.gBExtras.Controls.Add(this.cBMouse); + this.gBExtras.Controls.Add(this.cBLightbar); + this.gBExtras.Controls.Add(this.lbRumble); + this.gBExtras.Controls.Add(this.nUDMouse); + this.gBExtras.Controls.Add(this.label1); + this.gBExtras.Controls.Add(this.lbHeavy); + this.gBExtras.Controls.Add(this.bnColor); + this.gBExtras.Controls.Add(this.lbBlueV); + this.gBExtras.Controls.Add(this.lbGreenV); + this.gBExtras.Controls.Add(this.lbRedV); + this.gBExtras.Controls.Add(this.lbLight); + this.gBExtras.Controls.Add(this.nUDHeavy); + this.gBExtras.Controls.Add(this.lbRed); + this.gBExtras.Controls.Add(this.nUDLight); + this.gBExtras.Controls.Add(this.nUDLightFlash); + this.gBExtras.Controls.Add(this.lbGreen); + this.gBExtras.Controls.Add(this.bnTest); + this.gBExtras.Controls.Add(this.tBBlueBar); + this.gBExtras.Controls.Add(this.lbBlue); + this.gBExtras.Controls.Add(this.tBGreenBar); + this.gBExtras.Controls.Add(this.tBRedBar); + resources.ApplyResources(this.gBExtras, "gBExtras"); + this.gBExtras.Name = "gBExtras"; + this.gBExtras.TabStop = false; + // + // cBMouse + // + resources.ApplyResources(this.cBMouse, "cBMouse"); + this.cBMouse.Name = "cBMouse"; + this.cBMouse.UseVisualStyleBackColor = true; + // + // cBLightbar + // + resources.ApplyResources(this.cBLightbar, "cBLightbar"); + this.cBLightbar.Name = "cBLightbar"; + this.cBLightbar.UseVisualStyleBackColor = true; + // + // lbBlueV + // + resources.ApplyResources(this.lbBlueV, "lbBlueV"); + this.lbBlueV.Name = "lbBlueV"; + // + // lbGreenV + // + resources.ApplyResources(this.lbGreenV, "lbGreenV"); + this.lbGreenV.Name = "lbGreenV"; + // + // lbRedV + // + resources.ApplyResources(this.lbRedV, "lbRedV"); + this.lbRedV.Name = "lbRedV"; + // + // advColorDialog + // + this.advColorDialog.AnyColor = true; + this.advColorDialog.Color = System.Drawing.Color.Blue; + this.advColorDialog.FullOpen = true; + this.advColorDialog.OnUpdateColor += new DS4Windows.AdvancedColorDialog.ColorUpdateHandler(this.advColorDialog_OnUpdateColor); + // // KBM360 // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.Controls.Add(this.btnUNBOUND2); - this.Controls.Add(this.btnFallBack); - this.Controls.Add(this.btnLS); - this.Controls.Add(this.btnLSU); - this.Controls.Add(this.btnRS); - this.Controls.Add(this.btnLSR); - this.Controls.Add(this.button2); - this.Controls.Add(this.btnLSD); - this.Controls.Add(this.btnRSU); - this.Controls.Add(this.btnLSL); - this.Controls.Add(this.btnRB); - this.Controls.Add(this.btnRSR); - this.Controls.Add(this.btnRSD); - this.Controls.Add(this.btnRSL); - this.Controls.Add(this.bnMacro); - this.Controls.Add(this.lBMacroOn); - this.Controls.Add(this.KBMlabel); - this.Controls.Add(this.X360Label); - this.Controls.Add(this.button13); - this.Controls.Add(this.button19); - this.Controls.Add(this.button20); - this.Controls.Add(this.button18); - this.Controls.Add(this.button17); - this.Controls.Add(this.button11); - this.Controls.Add(this.button10); - this.Controls.Add(this.button9); - this.Controls.Add(this.button8); - this.Controls.Add(this.button23); - this.Controls.Add(this.button22); - this.Controls.Add(this.button21); - this.Controls.Add(this.button3); - this.Controls.Add(this.lBTip); - this.Controls.Add(this.cbScanCode); - this.Controls.Add(this.button7); - this.Controls.Add(this.button5); - this.Controls.Add(this.button4); - this.Controls.Add(this.button6); - this.Controls.Add(this.btnNUMDOT); - this.Controls.Add(this.btnNUM3); - this.Controls.Add(this.btnNUM2); - this.Controls.Add(this.btnNUM0); - this.Controls.Add(this.btnNUM6); - this.Controls.Add(this.btnNUM1); - this.Controls.Add(this.btnNUM5); - this.Controls.Add(this.btnNUM4); - this.Controls.Add(this.btnNUMENTER); - this.Controls.Add(this.btnNUMPLUS); - this.Controls.Add(this.btnNUMMINUS); - this.Controls.Add(this.btnNUM9); - this.Controls.Add(this.btnNUMSTAR); - this.Controls.Add(this.btnNUM8); - this.Controls.Add(this.btnNUMSLASH); - this.Controls.Add(this.btnNUM7); - this.Controls.Add(this.btnNUMLOCK); + this.Controls.Add(this.gBExtras); this.Controls.Add(this.btnESC); - this.Controls.Add(this.btnTILDE); - this.Controls.Add(this.btnF11); - this.Controls.Add(this.btnF10); - this.Controls.Add(this.btnF12); - this.Controls.Add(this.btnBREAK); - this.Controls.Add(this.button35); - this.Controls.Add(this.button39); - this.Controls.Add(this.button38); - this.Controls.Add(this.btnPREVTRACK); - this.Controls.Add(this.btnNEXTTRACK); - this.Controls.Add(this.btnPLAYPAUSE); - this.Controls.Add(this.btnSTOP); - this.Controls.Add(this.button34); - this.Controls.Add(this.btnSCL); - this.Controls.Add(this.btnDEL); - this.Controls.Add(this.btnEND); - this.Controls.Add(this.btnPGDN); - this.Controls.Add(this.btnPGUP); - this.Controls.Add(this.btnHOME); - this.Controls.Add(this.btnINS); - this.Controls.Add(this.btnF9); - this.Controls.Add(this.btnF8); - this.Controls.Add(this.btnF7); - this.Controls.Add(this.btnF6); - this.Controls.Add(this.btnF5); - this.Controls.Add(this.btnF4); - this.Controls.Add(this.btnF3); - this.Controls.Add(this.btnF2); - this.Controls.Add(this.btnF1); - this.Controls.Add(this.btn1); - this.Controls.Add(this.btnBACKSPACE); - this.Controls.Add(this.btnEQUALS); - this.Controls.Add(this.btnMINUS); - this.Controls.Add(this.btn0); - this.Controls.Add(this.btn9); - this.Controls.Add(this.btn8); - this.Controls.Add(this.btn7); - this.Controls.Add(this.btn6); - this.Controls.Add(this.btn5); - this.Controls.Add(this.btn4); - this.Controls.Add(this.btn3); - this.Controls.Add(this.btn2); - this.Controls.Add(this.btnSPACE); - this.Controls.Add(this.btnLSHIFT); - this.Controls.Add(this.btnRSHIFT); - this.Controls.Add(this.btnSLASH); - this.Controls.Add(this.btnPERIOD); - this.Controls.Add(this.btnCOMMA); - this.Controls.Add(this.btnM); - this.Controls.Add(this.btnN); - this.Controls.Add(this.btnB); - this.Controls.Add(this.btnV); - this.Controls.Add(this.btnC); - this.Controls.Add(this.btnX); - this.Controls.Add(this.btnZ); - this.Controls.Add(this.btnRALT); - this.Controls.Add(this.button36); - this.Controls.Add(this.btnWINDOWS); - this.Controls.Add(this.btnLALT); - this.Controls.Add(this.btnRCTRL); - this.Controls.Add(this.btnLCTRL); - this.Controls.Add(this.btnCAPS); - this.Controls.Add(this.btnRETURN); - this.Controls.Add(this.btnAPOSTROPHE); - this.Controls.Add(this.btnSEMICOLON); - this.Controls.Add(this.btnL); - this.Controls.Add(this.btnK); - this.Controls.Add(this.btnJ); - this.Controls.Add(this.btnH); - this.Controls.Add(this.btnG); - this.Controls.Add(this.btnF); - this.Controls.Add(this.btnD); - this.Controls.Add(this.btnS); - this.Controls.Add(this.btnA); - this.Controls.Add(this.btnTAB); - this.Controls.Add(this.btnBACKSLASH); - this.Controls.Add(this.btnCLOSEBRACKET); - this.Controls.Add(this.btnOPENBRACKET); - this.Controls.Add(this.btnP); - this.Controls.Add(this.btnO); - this.Controls.Add(this.btnI); - this.Controls.Add(this.btnU); - this.Controls.Add(this.btnY); - this.Controls.Add(this.btnT); - this.Controls.Add(this.btnR); - this.Controls.Add(this.bTNRIGHTMOUSE); - this.Controls.Add(this.btnE); - this.Controls.Add(this.bnWHEELDOWN); - this.Controls.Add(this.bnWHEELUP); - this.Controls.Add(this.btnMIDDLEMOUSE); - this.Controls.Add(this.btnW); - this.Controls.Add(this.button33); - this.Controls.Add(this.button30); - this.Controls.Add(this.btnMOUSERIGHT); - this.Controls.Add(this.btnMOUSELEFT); - this.Controls.Add(this.btnMOUSEDOWN); - this.Controls.Add(this.btnMOUSEUP); - this.Controls.Add(this.btnLEFTMOUSE); - this.Controls.Add(this.btnQ); - this.Controls.Add(this.pictureBox2); + this.Controls.Add(this.btnUNBOUND2); + this.Controls.Add(this.lBMacroOn); + this.Controls.Add(this.btnFallBack); this.Controls.Add(this.cbToggle); + this.Controls.Add(this.btnLS); + this.Controls.Add(this.btnF6); + this.Controls.Add(this.btnLSU); + this.Controls.Add(this.btnF5); + this.Controls.Add(this.btnQ); + this.Controls.Add(this.btnF7); + this.Controls.Add(this.btnRS); + this.Controls.Add(this.btnF4); + this.Controls.Add(this.btnLEFTMOUSE); + this.Controls.Add(this.btnF8); + this.Controls.Add(this.btnLSR); + this.Controls.Add(this.btnF3); + this.Controls.Add(this.btnMOUSEUP); + this.Controls.Add(this.btnF9); + this.Controls.Add(this.button2); + this.Controls.Add(this.btnF2); + this.Controls.Add(this.btnMOUSEDOWN); + this.Controls.Add(this.btnINS); + this.Controls.Add(this.btnLSD); + this.Controls.Add(this.btnF1); + this.Controls.Add(this.btnMOUSELEFT); + this.Controls.Add(this.btnHOME); + this.Controls.Add(this.btnRSU); + this.Controls.Add(this.btn1); + this.Controls.Add(this.btnMOUSERIGHT); + this.Controls.Add(this.btnPGUP); + this.Controls.Add(this.btnLSL); + this.Controls.Add(this.btnBACKSPACE); + this.Controls.Add(this.button30); + this.Controls.Add(this.btnPGDN); + this.Controls.Add(this.btnRB); + this.Controls.Add(this.btnEQUALS); + this.Controls.Add(this.button33); + this.Controls.Add(this.btnEND); + this.Controls.Add(this.btnRSR); + this.Controls.Add(this.btnMINUS); + this.Controls.Add(this.btnW); + this.Controls.Add(this.btnDEL); + this.Controls.Add(this.btnRSD); + this.Controls.Add(this.btn0); + this.Controls.Add(this.btnMIDDLEMOUSE); + this.Controls.Add(this.btnSCL); + this.Controls.Add(this.btnRSL); + this.Controls.Add(this.btn9); + this.Controls.Add(this.bnWHEELUP); + this.Controls.Add(this.button34); + this.Controls.Add(this.bnMacro); + this.Controls.Add(this.btn8); + this.Controls.Add(this.bnWHEELDOWN); + this.Controls.Add(this.btnSTOP); + this.Controls.Add(this.btn7); + this.Controls.Add(this.btnE); + this.Controls.Add(this.btnPLAYPAUSE); + this.Controls.Add(this.KBMlabel); + this.Controls.Add(this.btn6); + this.Controls.Add(this.bTNRIGHTMOUSE); + this.Controls.Add(this.btnNEXTTRACK); + this.Controls.Add(this.X360Label); + this.Controls.Add(this.btn5); + this.Controls.Add(this.btnR); + this.Controls.Add(this.btnPREVTRACK); + this.Controls.Add(this.button13); + this.Controls.Add(this.btn4); + this.Controls.Add(this.btnT); + this.Controls.Add(this.button38); + this.Controls.Add(this.button19); + this.Controls.Add(this.btn3); + this.Controls.Add(this.btnY); + this.Controls.Add(this.button39); + this.Controls.Add(this.button20); + this.Controls.Add(this.btn2); + this.Controls.Add(this.btnU); + this.Controls.Add(this.button35); + this.Controls.Add(this.button18); + this.Controls.Add(this.btnSPACE); + this.Controls.Add(this.btnI); + this.Controls.Add(this.btnBREAK); + this.Controls.Add(this.button17); + this.Controls.Add(this.btnLSHIFT); + this.Controls.Add(this.btnO); + this.Controls.Add(this.btnF12); + this.Controls.Add(this.button11); + this.Controls.Add(this.btnRSHIFT); + this.Controls.Add(this.btnP); + this.Controls.Add(this.btnF10); + this.Controls.Add(this.button10); + this.Controls.Add(this.btnSLASH); + this.Controls.Add(this.btnOPENBRACKET); + this.Controls.Add(this.btnF11); + this.Controls.Add(this.button9); + this.Controls.Add(this.btnPERIOD); + this.Controls.Add(this.btnCLOSEBRACKET); + this.Controls.Add(this.btnTILDE); + this.Controls.Add(this.button8); + this.Controls.Add(this.btnCOMMA); + this.Controls.Add(this.btnBACKSLASH); + this.Controls.Add(this.btnM); + this.Controls.Add(this.button23); + this.Controls.Add(this.btnNUMLOCK); + this.Controls.Add(this.btnTAB); + this.Controls.Add(this.btnN); + this.Controls.Add(this.button22); + this.Controls.Add(this.btnNUM7); + this.Controls.Add(this.btnA); + this.Controls.Add(this.btnB); + this.Controls.Add(this.button21); + this.Controls.Add(this.btnNUMSLASH); + this.Controls.Add(this.btnS); + this.Controls.Add(this.btnV); + this.Controls.Add(this.button3); + this.Controls.Add(this.btnNUM8); + this.Controls.Add(this.btnD); + this.Controls.Add(this.btnC); + this.Controls.Add(this.lBTip); + this.Controls.Add(this.btnNUMSTAR); + this.Controls.Add(this.btnF); + this.Controls.Add(this.btnX); + this.Controls.Add(this.cbScanCode); + this.Controls.Add(this.btnNUM9); + this.Controls.Add(this.btnG); + this.Controls.Add(this.btnZ); + this.Controls.Add(this.button7); + this.Controls.Add(this.btnNUMMINUS); + this.Controls.Add(this.btnH); + this.Controls.Add(this.btnRALT); + this.Controls.Add(this.button5); + this.Controls.Add(this.btnNUMPLUS); + this.Controls.Add(this.btnJ); + this.Controls.Add(this.button36); + this.Controls.Add(this.button4); + this.Controls.Add(this.btnNUMENTER); + this.Controls.Add(this.btnK); + this.Controls.Add(this.btnWINDOWS); + this.Controls.Add(this.button6); + this.Controls.Add(this.btnNUM4); + this.Controls.Add(this.btnL); + this.Controls.Add(this.btnLALT); + this.Controls.Add(this.btnNUMDOT); + this.Controls.Add(this.btnNUM5); + this.Controls.Add(this.btnSEMICOLON); + this.Controls.Add(this.btnRCTRL); + this.Controls.Add(this.btnNUM3); + this.Controls.Add(this.btnNUM1); + this.Controls.Add(this.btnAPOSTROPHE); + this.Controls.Add(this.btnLCTRL); + this.Controls.Add(this.btnNUM2); + this.Controls.Add(this.btnNUM6); + this.Controls.Add(this.btnRETURN); + this.Controls.Add(this.btnCAPS); + this.Controls.Add(this.btnNUM0); + this.Controls.Add(this.pictureBox2); this.Controls.Add(this.pictureBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.KeyPreview = true; @@ -1621,8 +1845,17 @@ this.Name = "KBM360"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.finalMeasure); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Key_Down_Action); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nUDHeavy)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nUDLight)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nUDLightFlash)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tBBlueBar)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tBGreenBar)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tBRedBar)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nUDMouse)).EndInit(); + this.gBExtras.ResumeLayout(false); + this.gBExtras.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -1630,163 +1863,187 @@ #endregion - private System.Windows.Forms.Label lBTip; - private System.Windows.Forms.CheckBox cbScanCode; - private System.Windows.Forms.Button button7; - private System.Windows.Forms.Button button5; - private System.Windows.Forms.Button button4; - private System.Windows.Forms.Button button6; - private System.Windows.Forms.Button btnNUMDOT; - private System.Windows.Forms.Button btnNUM3; - private System.Windows.Forms.Button btnNUM2; - private System.Windows.Forms.Button btnNUM0; - private System.Windows.Forms.Button btnNUM6; - private System.Windows.Forms.Button btnNUM1; - private System.Windows.Forms.Button btnNUM5; - private System.Windows.Forms.Button btnNUM4; - private System.Windows.Forms.Button btnNUMENTER; - private System.Windows.Forms.Button btnNUMPLUS; - private System.Windows.Forms.Button btnNUMMINUS; - private System.Windows.Forms.Button btnNUM9; - private System.Windows.Forms.Button btnNUMSTAR; - private System.Windows.Forms.Button btnNUM8; - private System.Windows.Forms.Button btnNUMSLASH; - private System.Windows.Forms.Button btnNUM7; - private System.Windows.Forms.Button btnNUMLOCK; - private System.Windows.Forms.Button btnESC; - private System.Windows.Forms.Button btnTILDE; - private System.Windows.Forms.Button btnF11; - private System.Windows.Forms.Button btnF10; - private System.Windows.Forms.Button btnF12; - private System.Windows.Forms.Button btnBREAK; - private System.Windows.Forms.Button button35; - private System.Windows.Forms.Button button39; - private System.Windows.Forms.Button button38; - private System.Windows.Forms.Button btnPREVTRACK; - private System.Windows.Forms.Button btnNEXTTRACK; - private System.Windows.Forms.Button btnPLAYPAUSE; - private System.Windows.Forms.Button btnSTOP; - private System.Windows.Forms.Button button34; - private System.Windows.Forms.Button btnSCL; - private System.Windows.Forms.Button btnDEL; - private System.Windows.Forms.Button btnEND; - private System.Windows.Forms.Button btnPGDN; - private System.Windows.Forms.Button btnPGUP; - private System.Windows.Forms.Button btnHOME; - private System.Windows.Forms.Button btnINS; - private System.Windows.Forms.Button btnF9; - private System.Windows.Forms.Button btnF8; - private System.Windows.Forms.Button btnF7; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.PictureBox pictureBox2; private System.Windows.Forms.Button btnF6; private System.Windows.Forms.Button btnF5; + private System.Windows.Forms.Button btnF7; private System.Windows.Forms.Button btnF4; + private System.Windows.Forms.Button btnF8; private System.Windows.Forms.Button btnF3; + private System.Windows.Forms.Button btnF9; private System.Windows.Forms.Button btnF2; + private System.Windows.Forms.Button btnINS; private System.Windows.Forms.Button btnF1; + private System.Windows.Forms.Button btnHOME; private System.Windows.Forms.Button btn1; + private System.Windows.Forms.Button btnPGUP; private System.Windows.Forms.Button btnBACKSPACE; + private System.Windows.Forms.Button btnPGDN; private System.Windows.Forms.Button btnEQUALS; + private System.Windows.Forms.Button btnEND; private System.Windows.Forms.Button btnMINUS; + private System.Windows.Forms.Button btnDEL; private System.Windows.Forms.Button btn0; + private System.Windows.Forms.Button btnSCL; private System.Windows.Forms.Button btn9; + private System.Windows.Forms.Button button34; private System.Windows.Forms.Button btn8; + private System.Windows.Forms.Button btnSTOP; private System.Windows.Forms.Button btn7; + private System.Windows.Forms.Button btnPLAYPAUSE; private System.Windows.Forms.Button btn6; + private System.Windows.Forms.Button btnNEXTTRACK; private System.Windows.Forms.Button btn5; + private System.Windows.Forms.Button btnPREVTRACK; private System.Windows.Forms.Button btn4; + private System.Windows.Forms.Button button38; private System.Windows.Forms.Button btn3; + private System.Windows.Forms.Button button39; private System.Windows.Forms.Button btn2; + private System.Windows.Forms.Button button35; private System.Windows.Forms.Button btnSPACE; + private System.Windows.Forms.Button btnBREAK; private System.Windows.Forms.Button btnLSHIFT; + private System.Windows.Forms.Button btnF12; private System.Windows.Forms.Button btnRSHIFT; + private System.Windows.Forms.Button btnF10; private System.Windows.Forms.Button btnSLASH; + private System.Windows.Forms.Button btnF11; private System.Windows.Forms.Button btnPERIOD; + private System.Windows.Forms.Button btnTILDE; private System.Windows.Forms.Button btnCOMMA; private System.Windows.Forms.Button btnM; + private System.Windows.Forms.Button btnNUMLOCK; private System.Windows.Forms.Button btnN; + private System.Windows.Forms.Button btnNUM7; private System.Windows.Forms.Button btnB; + private System.Windows.Forms.Button btnNUMSLASH; private System.Windows.Forms.Button btnV; + private System.Windows.Forms.Button btnNUM8; private System.Windows.Forms.Button btnC; + private System.Windows.Forms.Button btnNUMSTAR; private System.Windows.Forms.Button btnX; + private System.Windows.Forms.Button btnNUM9; private System.Windows.Forms.Button btnZ; + private System.Windows.Forms.Button btnNUMMINUS; private System.Windows.Forms.Button btnRALT; + private System.Windows.Forms.Button btnNUMPLUS; private System.Windows.Forms.Button button36; + private System.Windows.Forms.Button btnNUMENTER; private System.Windows.Forms.Button btnWINDOWS; + private System.Windows.Forms.Button btnNUM4; private System.Windows.Forms.Button btnLALT; + private System.Windows.Forms.Button btnNUM5; private System.Windows.Forms.Button btnRCTRL; + private System.Windows.Forms.Button btnNUM1; private System.Windows.Forms.Button btnLCTRL; + private System.Windows.Forms.Button btnNUM6; private System.Windows.Forms.Button btnCAPS; + private System.Windows.Forms.Button btnNUM0; private System.Windows.Forms.Button btnRETURN; + private System.Windows.Forms.Button btnNUM2; private System.Windows.Forms.Button btnAPOSTROPHE; - private System.Windows.Forms.Button btnSEMICOLON; + private System.Windows.Forms.Button btnNUM3; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label lbRumble; + private System.Windows.Forms.Label lbHeavy; + private System.Windows.Forms.Label lbLight; + private System.Windows.Forms.NumericUpDown nUDHeavy; + private System.Windows.Forms.NumericUpDown nUDLight; + private System.Windows.Forms.Button btnH; + private System.Windows.Forms.NumericUpDown nUDLightFlash; + private System.Windows.Forms.TrackBar tBBlueBar; private System.Windows.Forms.Button btnL; private System.Windows.Forms.Button btnK; private System.Windows.Forms.Button btnJ; - private System.Windows.Forms.Button btnH; + private System.Windows.Forms.Button button5; + private System.Windows.Forms.TrackBar tBGreenBar; + private System.Windows.Forms.TrackBar tBRedBar; + private System.Windows.Forms.Label lbBlue; + private System.Windows.Forms.Label lbGreen; + private System.Windows.Forms.Button btnSEMICOLON; + private System.Windows.Forms.Button button7; + private System.Windows.Forms.Button bnTest; + private System.Windows.Forms.Label lbRed; + private System.Windows.Forms.Button button4; + private System.Windows.Forms.NumericUpDown nUDMouse; + private System.Windows.Forms.Button button6; + private System.Windows.Forms.Button bnColor; + private System.Windows.Forms.Button btnNUMDOT; private System.Windows.Forms.Button btnG; + private System.Windows.Forms.CheckBox cbScanCode; private System.Windows.Forms.Button btnF; + private System.Windows.Forms.Label lBTip; private System.Windows.Forms.Button btnD; - private System.Windows.Forms.Button btnS; - private System.Windows.Forms.Button btnA; - private System.Windows.Forms.Button btnTAB; - private System.Windows.Forms.Button btnBACKSLASH; - private System.Windows.Forms.Button btnCLOSEBRACKET; - private System.Windows.Forms.Button btnOPENBRACKET; - private System.Windows.Forms.Button btnP; - private System.Windows.Forms.Button btnO; - private System.Windows.Forms.Button btnI; - private System.Windows.Forms.Button btnU; - private System.Windows.Forms.Button btnY; - private System.Windows.Forms.Button btnT; - private System.Windows.Forms.Button btnR; - private System.Windows.Forms.Button bTNRIGHTMOUSE; - private System.Windows.Forms.Button btnE; - private System.Windows.Forms.Button bnWHEELDOWN; - private System.Windows.Forms.Button bnWHEELUP; - private System.Windows.Forms.Button btnMIDDLEMOUSE; - private System.Windows.Forms.Button btnW; - private System.Windows.Forms.Button button33; - private System.Windows.Forms.Button button30; - private System.Windows.Forms.Button btnMOUSERIGHT; - private System.Windows.Forms.Button btnMOUSELEFT; - private System.Windows.Forms.Button btnMOUSEDOWN; - private System.Windows.Forms.Button btnMOUSEUP; - private System.Windows.Forms.Button btnLEFTMOUSE; - private System.Windows.Forms.Button btnQ; - private System.Windows.Forms.PictureBox pictureBox2; - private System.Windows.Forms.CheckBox cbToggle; - private System.Windows.Forms.Button btnUNBOUND2; - private System.Windows.Forms.Button button13; - private System.Windows.Forms.Button button2; - private System.Windows.Forms.Button btnRSL; - private System.Windows.Forms.Button btnLSL; - private System.Windows.Forms.Button btnRSD; - private System.Windows.Forms.Button btnLSD; - private System.Windows.Forms.Button button19; - private System.Windows.Forms.Button button20; - private System.Windows.Forms.Button button18; - private System.Windows.Forms.Button button17; - private System.Windows.Forms.Button btnRSR; - private System.Windows.Forms.Button btnRS; - private System.Windows.Forms.Button btnLSR; - private System.Windows.Forms.Button btnRSU; - private System.Windows.Forms.Button btnLS; - private System.Windows.Forms.Button btnLSU; - private System.Windows.Forms.Button button11; - private System.Windows.Forms.Button btnRB; - private System.Windows.Forms.Button button10; - private System.Windows.Forms.Button button9; - private System.Windows.Forms.Button button8; - private System.Windows.Forms.Button button23; - private System.Windows.Forms.Button button22; - private System.Windows.Forms.Button button21; private System.Windows.Forms.Button button3; + private System.Windows.Forms.Button btnS; + private System.Windows.Forms.Button button21; + private System.Windows.Forms.Button btnA; + private System.Windows.Forms.Button button22; + private System.Windows.Forms.Button btnTAB; + private System.Windows.Forms.Button button23; + private System.Windows.Forms.Button btnBACKSLASH; + private System.Windows.Forms.Button button8; + private System.Windows.Forms.Button btnCLOSEBRACKET; + private System.Windows.Forms.Button button9; + private System.Windows.Forms.Button btnOPENBRACKET; + private System.Windows.Forms.Button button10; + private System.Windows.Forms.Button btnP; + private System.Windows.Forms.Button button11; + private System.Windows.Forms.Button btnO; + private System.Windows.Forms.Button button17; + private System.Windows.Forms.Button btnI; + private System.Windows.Forms.Button button18; + private System.Windows.Forms.Button btnU; + private System.Windows.Forms.Button button20; + private System.Windows.Forms.Button btnY; + private System.Windows.Forms.Button button19; + private System.Windows.Forms.Button btnT; + private System.Windows.Forms.Button button13; + private System.Windows.Forms.Button btnR; private System.Windows.Forms.Label X360Label; + private System.Windows.Forms.Button bTNRIGHTMOUSE; private System.Windows.Forms.Label KBMlabel; - private System.Windows.Forms.Button bnMacro; + private System.Windows.Forms.Button btnE; public System.Windows.Forms.Label lBMacroOn; - private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Button bnWHEELDOWN; + private System.Windows.Forms.Button bnMacro; + private System.Windows.Forms.Button bnWHEELUP; + private System.Windows.Forms.Button btnRSL; + private System.Windows.Forms.Button btnMIDDLEMOUSE; + private System.Windows.Forms.Button btnRSD; + private System.Windows.Forms.Button btnW; + private System.Windows.Forms.Button btnRSR; + private System.Windows.Forms.Button button33; + private System.Windows.Forms.Button btnRB; + private System.Windows.Forms.Button button30; + private System.Windows.Forms.Button btnLSL; + private System.Windows.Forms.Button btnMOUSERIGHT; + private System.Windows.Forms.Button btnRSU; + private System.Windows.Forms.Button btnMOUSELEFT; + private System.Windows.Forms.Button btnLSD; + private System.Windows.Forms.Button btnMOUSEDOWN; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button btnMOUSEUP; + private System.Windows.Forms.Button btnLSR; + private System.Windows.Forms.Button btnLEFTMOUSE; + private System.Windows.Forms.Button btnRS; + private System.Windows.Forms.Button btnQ; + private System.Windows.Forms.Button btnLSU; + private System.Windows.Forms.Button btnLS; + private System.Windows.Forms.CheckBox cbToggle; private System.Windows.Forms.Button btnFallBack; + private System.Windows.Forms.Button btnUNBOUND2; + private System.Windows.Forms.Button btnESC; + private System.Windows.Forms.GroupBox gBExtras; + private System.Windows.Forms.Label lbBlueV; + private System.Windows.Forms.Label lbGreenV; + private System.Windows.Forms.Label lbRedV; + private AdvancedColorDialog advColorDialog; + private System.Windows.Forms.CheckBox cBMouse; + private System.Windows.Forms.CheckBox cBLightbar; + } } \ No newline at end of file diff --git a/DS4Tool/KBM360.cs b/DS4Tool/KBM360.cs index 0e2ce1c..38078ec 100644 --- a/DS4Tool/KBM360.cs +++ b/DS4Tool/KBM360.cs @@ -17,8 +17,9 @@ namespace DS4Windows private Options ops; public List macros = new List(); public List macrostag = new List(); - public bool macrorepeat; + public bool macrorepeat, newaction; RecordBox rb; + object oldtag; public KBM360(DS4Control.Control bus_device, int deviceNum, Options ooo, Button buton) { InitializeComponent(); @@ -28,11 +29,63 @@ namespace DS4Windows button = buton; cbToggle.Checked = button.Font.Italic; cbScanCode.Checked = button.Font.Bold; - if (button.Font.Underline) + if (button.Tag != null) { - lBMacroOn.Visible = true; - foreach (int i in ((int[])button.Tag)) - macrostag.Add(i); + string[] extras; + if (button.Tag is KeyValuePair) + { + KeyValuePair tag = (KeyValuePair)button.Tag; + oldtag = tag.Key; + extras = tag.Value.Split(','); + } + else if (button.Tag is KeyValuePair) + { + KeyValuePair tag = (KeyValuePair)button.Tag; + oldtag = tag.Key; + if (button.Font.Underline) + { + lBMacroOn.Visible = true; + foreach (int i in ((int[])tag.Key)) + macrostag.Add(i); + } + if (button.Font.Strikeout) + macrorepeat = true; + extras = tag.Value.Split(','); + } + else if (button.Tag is KeyValuePair) + { + KeyValuePair tag = (KeyValuePair)button.Tag; + oldtag = tag.Key; + extras = tag.Value.Split(','); + } + else + { + KeyValuePair tag = (KeyValuePair)button.Tag; + extras = tag.Value.Split(','); + } + int b; + try + { + if (int.TryParse(extras[0], out b)) nUDHeavy.Value = b; + if (int.TryParse(extras[1], out b)) nUDLight.Value = b; + if (int.TryParse(extras[2], out b)) + if (b == 1) + { + cBLightbar.Checked = true; + if (int.TryParse(extras[3], out b)) tBRedBar.Value = b; + if (int.TryParse(extras[4], out b)) tBGreenBar.Value = b; + if (int.TryParse(extras[5], out b)) tBBlueBar.Value = b; + if (int.TryParse(extras[6], out b)) nUDLightFlash.Value = b; + } + if (int.TryParse(extras[7], out b)) + if (b == 1) + { + cBMouse.Checked = true; + if (int.TryParse(extras[8], out b)) nUDMouse.Value = b; + } + + } + catch { } } if (button.Name.StartsWith("bn")) Text = Properties.Resources.SelectActionTitle.Replace("*action*", button.Name.Substring(2)); @@ -46,7 +99,7 @@ namespace DS4Windows Text = Properties.Resources.SelectActionTitle.Replace("*action*", button.Name.Substring(7)); btnFallBack.Text = "Fall Back"; } - foreach (System.Windows.Forms.Control control in this.Controls) + foreach (System.Windows.Forms.Control control in Controls) if (control is Button) ((Button)control).Click += anybtn_Click; if (button.Name.Contains("Touch") || button.Name.Contains("Swipe")) @@ -61,7 +114,7 @@ namespace DS4Windows public void anybtn_Click(object sender, EventArgs e) { - if (rb == null && sender is Button && ((Button)sender).Name != "bnMacro") + if (rb == null && sender is Button && ((Button)sender).Name != "bnMacro" && ((Button)sender).Name != "bnTest") { Button bn = ((Button)sender); string keyname; @@ -93,41 +146,68 @@ namespace DS4Windows else keytag = ((Button)sender).Tag; lBMacroOn.Visible = false; - ops.ChangeButtonText(keyname, keytag); + string extras = GetExtras(); + KeyValuePair tag = new KeyValuePair(keytag, extras); + newaction = true; + ops.ChangeButtonText(keyname, tag); this.Close(); } } + private string GetExtras() + { + string t =(byte)nUDHeavy.Value + "," + (byte)nUDLight.Value + "," + + (cBLightbar.Checked ? "1" + "," + tBRedBar.Value + "," + tBGreenBar.Value + "," + tBBlueBar.Value + "," + nUDLightFlash.Value: "0,0,0,0,0") + "," + + (cBMouse.Checked ? "1" + "," + (byte)nUDMouse.Value : "0,0"); + return t; + } private void finalMeasure(object sender, FormClosedEventArgs e) { - if (rb != null) + if (rb != null) //if record macro is open { if (!rb.saved && rb.macros.Count > 0) if (MessageBox.Show(Properties.Resources.SaveRecordedMacro, "DS4Windows", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == System.Windows.Forms.DialogResult.Yes) rb.btnSave_Click(this, null); } if (lBMacroOn.Visible) - ops.ChangeButtonText("Macro", macrostag.ToArray()); + { + string extras = GetExtras(); + KeyValuePair tag = new KeyValuePair(macrostag.ToArray(), extras); + ops.ChangeButtonText("Macro", tag); + //ops.ChangeButtonText("Macro", macrostag.ToArray()); + } + else if (!newaction) + { + string extras = GetExtras(); + KeyValuePair tag = new KeyValuePair(oldtag, extras); + ops.ChangeButtonText(button.Text, tag); + } ops.Toggle_Bn(cbScanCode.Checked, cbToggle.Checked, lBMacroOn.Visible, macrorepeat); ops.UpdateLists(); } private void Key_Down_Action(object sender, KeyEventArgs e) { - if (rb == null) + if (rb == null && !(ActiveControl is NumericUpDown) && !(ActiveControl is TrackBar)) { lBMacroOn.Visible = false; - ops.ChangeButtonText(e.KeyCode.ToString(), e.KeyValue); + string extras = GetExtras(); + KeyValuePair tag = new KeyValuePair(e.KeyValue, extras); + newaction = true; + ops.ChangeButtonText(e.KeyCode.ToString(), tag); this.Close(); } } private void Key_Press_Action(object sender, KeyEventArgs e) { - if (rb == null) + if (rb == null && !(ActiveControl is NumericUpDown) && !(ActiveControl is TrackBar)) { lBMacroOn.Visible = false; - ops.ChangeButtonText(e.KeyCode.ToString(), e.KeyValue); + string extras = GetExtras(); + KeyValuePair tag = new KeyValuePair(e.KeyValue, extras); + newaction = true; + ops.ChangeButtonText(e.KeyCode.ToString(), tag); this.Close(); } } @@ -187,5 +267,140 @@ namespace DS4Windows break; } } + + private int alphacolor; + private Color reg, full; + int bgc = 240; //Color of the form background, If greyscale color + private void redBar_ValueChanged(object sender, EventArgs e) + { + cBLightbar.Checked = true; + int value = ((TrackBar)sender).Value; + int sat = bgc - (value < bgc ? value : bgc); + int som = bgc + 11 * (int)(value * 0.0039215); + ((TrackBar)sender).BackColor = Color.FromArgb(som, sat, sat); + alphacolor = Math.Max(tBRedBar.Value, Math.Max(tBGreenBar.Value, tBBlueBar.Value)); + reg = Color.FromArgb(tBRedBar.Value, tBGreenBar.Value, tBBlueBar.Value); + full = HuetoRGB(reg.GetHue(), reg.GetBrightness(), reg); + bnColor.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full); + Global.saveColor(device, (byte)tBRedBar.Value, (byte)tBGreenBar.Value, (byte)tBBlueBar.Value); + lbRedV.Text = ((TrackBar)sender).Value.ToString(); + } + private void greenBar_ValueChanged(object sender, EventArgs e) + { + cBLightbar.Checked = true; + int value = ((TrackBar)sender).Value; + int sat = bgc - (value < bgc ? value : bgc); + int som = bgc + 11 * (int)(value * 0.0039215); + ((TrackBar)sender).BackColor = Color.FromArgb(sat, som, sat); + alphacolor = Math.Max(tBRedBar.Value, Math.Max(tBGreenBar.Value, tBBlueBar.Value)); + reg = Color.FromArgb(tBRedBar.Value, tBGreenBar.Value, tBBlueBar.Value); + full = HuetoRGB(reg.GetHue(), reg.GetBrightness(), reg); + bnColor.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full); + Global.saveColor(device, (byte)tBRedBar.Value, (byte)tBGreenBar.Value, (byte)tBBlueBar.Value); + lbGreenV.Text = ((TrackBar)sender).Value.ToString(); + } + private void blueBar_ValueChanged(object sender, EventArgs e) + { + cBLightbar.Checked = true; + int value = ((TrackBar)sender).Value; + int sat = bgc - (value < bgc ? value : bgc); + int som = bgc + 11 * (int)(value * 0.0039215); + ((TrackBar)sender).BackColor = Color.FromArgb(sat, sat, som); + alphacolor = Math.Max(tBRedBar.Value, Math.Max(tBGreenBar.Value, tBBlueBar.Value)); + reg = Color.FromArgb(tBRedBar.Value, tBGreenBar.Value, tBBlueBar.Value); + full = HuetoRGB(reg.GetHue(), reg.GetBrightness(), reg); + bnColor.BackColor = Color.FromArgb((alphacolor > 205 ? 255 : (alphacolor + 50)), full); + Global.saveColor(device, (byte)tBRedBar.Value, (byte)tBGreenBar.Value, (byte)tBBlueBar.Value); + lbBlueV.Text = ((TrackBar)sender).Value.ToString(); + } + + + + public Color HuetoRGB(float hue, float light, Color rgb) + { + float L = (float)Math.Max(.5, light); + float C = (1 - Math.Abs(2 * L - 1)); + float X = (C * (1 - Math.Abs((hue / 60) % 2 - 1))); + float m = L - C / 2; + float R = 0, G = 0, B = 0; + if (light == 1) return Color.FromName("White"); + else if (rgb.R == rgb.G && rgb.G == rgb.B) return Color.FromName("White"); + else if (0 <= hue && hue < 60) { R = C; G = X; } + else if (60 <= hue && hue < 120) { R = X; G = C; } + else if (120 <= hue && hue < 180) { G = C; B = X; } + else if (180 <= hue && hue < 240) { G = X; B = C; } + else if (240 <= hue && hue < 300) { R = X; B = C; } + else if (300 <= hue && hue < 360) { R = C; B = X; } + return Color.FromArgb((int)((R + m) * 255), (int)((G + m) * 255), (int)((B + m) * 255)); + } + + private void bnColor_Click(object sender, EventArgs e) + { + advColorDialog.Color = bnColor.BackColor; + if (advColorDialog.ShowDialog() == DialogResult.OK) + { + cBLightbar.Checked = true; + bnColor.BackColor = advColorDialog.Color; + tBRedBar.Value = advColorDialog.Color.R; + tBGreenBar.Value = advColorDialog.Color.G; + tBBlueBar.Value = advColorDialog.Color.B; + } + if (device < 4) + DS4Control.DS4LightBar.forcelight[device] = false; + } + + private void advColorDialog_OnUpdateColor(object sender, EventArgs e) + { + if (sender is Color && device < 4) + { + Color color = (Color)sender; + DS4Library.DS4Color dcolor = new DS4Library.DS4Color { red = color.R, green = color.G, blue = color.B }; + DS4Control.DS4LightBar.forcedColor[device] = dcolor; + DS4Control.DS4LightBar.forcedFlash[device] = 0; + DS4Control.DS4LightBar.forcelight[device] = true; + } + } + + private void bnTest_Click(object sender, EventArgs e) + { + if (device < 4) + if (((Button)sender).Text == Properties.Resources.TestText) + { + scpDevice.setRumble((byte)nUDHeavy.Value, (byte)nUDLight.Value, device); + ((Button)sender).Text = Properties.Resources.StopText; + } + else + { + scpDevice.setRumble(0, 0, device); + ((Button)sender).Text = Properties.Resources.TestText; + } + else + if (((Button)sender).Text == Properties.Resources.TestText) + { + scpDevice.setRumble((byte)nUDHeavy.Value, (byte)nUDLight.Value, 0); + ((Button)sender).Text = Properties.Resources.StopText; + } + else + { + scpDevice.setRumble(0, 0, 0); + ((Button)sender).Text = Properties.Resources.TestText; + } + } + + private void nUD_ValueChanged(object sender, EventArgs e) + { + if (bnTest.Text != Properties.Resources.TestText) + { + if (device < 4) + scpDevice.setRumble((byte)nUDHeavy.Value, (byte)nUDLight.Value, device); + else + scpDevice.setRumble((byte)nUDHeavy.Value, (byte)nUDLight.Value, 0); + } + } + + private void nUDMouse_ValueChanged(object sender, EventArgs e) + { + cBMouse.Checked = true; + } } } diff --git a/DS4Tool/KBM360.resx b/DS4Tool/KBM360.resx index 036949b..6883f64 100644 --- a/DS4Tool/KBM360.resx +++ b/DS4Tool/KBM360.resx @@ -118,1824 +118,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 33, 24 - - - - Popup - - - 4 - - - 47 - - - btn3 - - - Popup - - - - 220 - - - lBTip - - - 284 - - - 95, 302 - - - $this - - - Guide - - - 82 - - - 210 - - - 225 - - - 36, 24 - - - 824, 82 - - - 764, 146 - - - Y - - - 319 - - - 33, 24 - - - btnCOMMA - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 701, 23 - - - 318 - - - 24, 24 - - - Popup - - - 19 - - - 246, 22 - - - 24, 24 - - - 312 - - - 131 - - - 200 - - - prt - - - 24, 24 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 24, 24 - - - 302 - - - $this - - - $this - - - btnHOME - - - btnSCL - - - 735, 309 - - - 64 - - - 5 - - - 465, 173 - - - $this - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 351, 172 - - - 267 - - - Popup - - - $this - - - X - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 673, 348 - - - $this - - - 229 - - - 202 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - $this - - - Popup - - - button36 - - - 24, 24 - - - 641, 142 - - - Popup - - - $this - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 30 - - - 173 - - - 15 - - - 54, 24 - - - S - - - 24, 24 - - - 9 - - - 462, 110 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 396, 52 - - - Popup - - - U - - - $this - - - 841, 117 - - - 315 - - - 293 - - - 246 - - - 611, 82 - - - Right Mouse Button - - - 24 - - - 142 - - - 306, 112 - - - 24, 24 - - - 100 - - - 6Numpad - - - 310 - - - 59 - - - 263 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 13 - - - 24, 24 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - Webdings, 8.25pt - - - pictureBox2 - - - btnW - - - 250 - - - 509, 217 - - - 54 - - - btnPGDN - - - pgd - - - 24, 24 - - - 409, 323 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - 24, 24 - - - 115 - - - btnNUMMINUS - - - btnA - - - 65 - - - 69 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 24, 24 - - - 641, 112 - - - 130, 269 - - - 396, 112 - - - btnPERIOD - - - 150 - - - 30, 30 - - - 9, 22 - - - 581, 52 - - - Popup - - - 111, 172 - - - Q - - - 176 - - - 735, 244 - - - 706, 348 - - - 51, 82 - - - 4Numpad - - - $this - - - ↑Mouse Wheel Up - - - Popup - - - 169 - - - F4 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 186 - - - btnWINDOWS - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 256 - - - 199 - - - Popup - - - btnAPOSTROPHE - - - btnRB - - - 183 - - - 236 - - - 322, 218 - - - LAlt - - - W - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 1 - - - 794, 82 - - - 38 - - - 641, 172 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 32, 210 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - True - - - btnLALT - - - btnT - - - 253 - - - 30, 30 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 701, 82 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - ↑Mouse Up - - - btnPREVTRACK - - - True - - - Popup - - - scl - - - button11 - - - 42, 24 - - - 156, 22 - - - 24, 24 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 24, 24 - - - 498, 22 - - - 216, 22 - - - P - - - KBM360 - - - Popup - - - Popup - - - 61 - - - 5th Mouse Button - - - 171 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - cbToggle - - - 145 - - - 88 - - - H - - - 33, 24 - - - Popup - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - 32 - - - 3Numpad - - - $this - - - 9 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 49 - - - btnNUMDOT - - - 308 - - - 126, 52 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - ' - - - Unbound - - - 33, 24 - - - 3 - - - $this - - - $this - - - $this - - - Popup - - - 309 - - - -Numpad - - - $this - - - 21 - - - 24, 24 - - - 611, 142 - - - 24, 24 - - - 24, 24 - - - \ - - - 182, 340 - - - 203 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - M - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 24, 24 - - - 24, 24 - - - $this - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 30, 30 - - - 171, 82 - - - ; - - - 274 - - - $this - - - + - - - btnF3 - - - 40, 24 - - - 794, 25 - - - 14 - - - 36, 24 - - - 336, 112 - - - 104 - - - 24, 24 - - - $this - - - 187 - - - btnNUMSTAR - - - Popup - - - D - - - 498, 143 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 218 - - - 30, 30 - - - btn0 - - - $this - - - Popup - - - 152 - - - $this - - - 24, 24 - - - ↓Volume Down - - - ←Mouse Left - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 27 - - - 703, 276 - - - 81 - - - 53 - - - 133 - - - bnWHEELUP - - - Popup - - - pgu - - - 234 - - - 381, 82 - - - Enter - - - $this - - - 42, 24 - - - 232 - - - Popup - - - 301 - - - 260 - - - btnMOUSERIGHT - - - 24, 24 - - - btnLS - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 0 - - - 287 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 381, 142 - - - ` - - - 34 - - - btnF11 - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnRSU - - - btnO - - - $this - - - 111, 82 - - - 106 - - - 7 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Zoom - - - 24, 24 - - - btnLSR - - - Popup - - - Popup - - - X360 Controls - - - btnUNBOUND2 - - - Popup - - - 531, 173 - - - 671, 52 - - - 393, 210 - - - Popup - - - 24, 24 - - - Popup - - - V - - - $this - - - 30, 30 - - - 24, 24 - - - 51 - - - 96, 96 - - - E - - - System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - pictureBox1 - - - btnB - - - button39 - - - J - - - 81, 82 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - btnMOUSEUP - - - 237 - - - $this - - - Popup - - - 581, 112 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - 581, 23 - - - 24, 24 - - - 140 - - - 265 - - - True - - - 24, 24 - - - btnF1 - - - You can also select -a key by typing it - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 291, 142 - - - btnZ - - - btnJ - - - 99 - - - K - - - 126, 22 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - →Mouse Right - - - button17 - - - Popup - - - $this - - - 262 - - - $this - - - 18 - - - $this - - - 9, 112 - - - 33, 24 - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 85 - - - 120 - - - 30, 30 - - - btnINS - - - btnI - - - 321, 82 - - - btnDEL - - - btnH - - - btnLSD - - - btnTILDE - - - 57 - - - $this - - - 24, 24 - - - Popup - - - Left Mouse Button - - - $this - - - 351, 82 - - - 4 - - - 24, 54 - - - 137 - - - 96 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Yes - - - Popup - - - button35 - - - $this - - - Popup - - - 24, 24 - - - 51, 24 - - - 2 - - - btnOPENBRACKET - - - btn2 - - - 73, 13 - - - 39, 24 - - - button4 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 180 - - - 51, 24 - - - 244 - - - btnBREAK - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnF5 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 16 - - - 33, 24 - - - ] - - - button23 - - - 95 - - - Enter - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 118 - - - btn1 - - - button34 - - - 188 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 246, 112 - - - 292 - - - 411, 22 - - - button5 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - *Numpad - - - $this - - - $this - - - 829, 147 - - - 26 - - - Popup - - - 24, 21 - - - 70 - - - 152, 370 - - - btnV - - - Caps - - - btnSPACE - - - Popup - - - 280 - - - 372, 22 - - - Backspace - - - 24, 24 - - - button6 - - - 498, 173 - - - 124 - - - 149 - - - System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 24, 24 - - - Popup - - - 258 - - - Popup - - - 127 - - - 109 - - - 671, 82 - - - 97 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnNEXTTRACK - - - 51, 24 - - - button7 - - - 768, 276 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 136 - - - btnMOUSELEFT - - - 24, 24 - - - 214 - - - Popup - - - btnG - - - Escape - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 6 - - - $this - - - bnWHEELDOWN - - - btnE - - - btnEND - - - 141, 142 - - - 794, 59 - - - $this - - - 125 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 67 - - - $this - - - 119 - - - 102 - - - 465, 323 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnF10 - - - 24, 24 - - - Popup - - - btnLSL - - - 24, 24 - - - 75, 23 - - - 223 - - - ↓Mouse Wheel Down - - - $this - - - 98 - - - 96, 22 - - - 276 - - - $this - - - 33, 24 - - - btnMOUSEDOWN - - - 132 - - - $this - - - 306, 22 - - - 24, 24 - - - 1Numpad - - - btnQ - - - 24, 24 - - - $this - - - $this - - - Popup - - - 3 - - - end - - - 0 - - - Popup - - - 212 - - - 201, 82 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 275 - - - 153 - - - 228 - - - 8 - - - button2 - - - 222 - - - Popup - - - 148 - - - $this - - - 581, 172 - - - 55 - - - 111 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 190 - - - 673, 382 - - - 27, 24 - - - [ - - - 24, 24 - - - 36, 52 - - - btnRCTRL - - - Popup - - - 107 - - - $this - - - $this - - - Space - - - , - - - 12 - - - 24, 24 - - - 198 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 303, 172 - - - 661, 5 - - - Popup - - - 171, 142 - - - 249 - - - 27, 24 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 155 - - - btn9 - - - 286 - - - 30, 30 - - - Z - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 126 - - - Popup - - - /Numpad - - - btnRS - - - Popup - - - $this - - - R - - - 66 - iVBORw0KGgoAAAANSUhEUgAAAx4AAAEYCAYAAADS/CAKAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH @@ -5466,2311 +3648,5229 @@ a key by typing it nyX8/xpnf/6euewgAAAAAElFTkSuQmCC - - $this + + + NoControl - - Tab + + 34, 213 - - Popup - - - $this - - - 66, 24 - - - Num0 - - - $this - - - $this - - - 291, 82 - - - button10 - - - 72 - - - 74 - - - 51, 24 - - - 24, 24 - - - 261 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 671, 23 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnNUM3 - - - 24, 24 - - - Popup - - - Popup - - - $this - - - Popup - - - 168 - - - 174 - - - Popup - - - 11 - - - 30, 30 - - - $this - - - 93 - - - 37 - - - 24, 24 - - - 24, 24 - - - 216, 112 - - - $this - - - 24, 24 - - - 255 - - - Webdings, 8.25pt - - - btnNUM0 - - - 33, 24 - - - Webdings, 8.25pt - - - 304 - - - $this - - - 27, 24 - - - 182 - - - btnRSHIFT - - - 186, 112 - - - 396, 172 - - - Popup - - - 298 - - - btnLSU - - - System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 24, 24 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 241 - - - 39, 24 - - - Popup - - - btnNUM1 - - - $this - - - 192 - - - →Right - - - 9, 82 - - - 103, 26 - - - $this - - - F12 - - - 245 - - - btnEQUALS - - - $this - - - 7Numpad - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnS - - - 27, 24 - - - $this - - - button21 - - - Popup - - - 87 - - - O - - - 91 - - - 24, 24 - - - 96, 112 - - - 24, 24 - - - Popup - - - btnTAB - - - False - - - $this - - - G - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 764, 82 - - - 135 - - - $this - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - T - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 122, 340 - - - button9 - - - Popup - - - btnNUM7 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 673, 315 - - - 611, 23 - - - L - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 30, 30 - - - $this - - - $this - - - 45 - - - ins - - - Popup - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 27, 24 - - - 24, 24 - - - 246, 52 - - - 59, 17 - - - 285 - - - $this - - - btnNUMPLUS - - - btnNUM4 - - - 208 - - - btnRALT - - - 24, 24 - - - $this - - - $this - - - btnLEFTMOUSE - - - 294 - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 271 - - - Popup - - - 321 - - - Popup - - - 291 - - - 51, 24 - - - 96, 52 - - - btnNUM5 - - - 465, 82 - - - 24, 24 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 296 - - - 118, 23 - - - 154 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 156, 52 - - - 242 - - - 31 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 440, 379 - - - 123 - - - btn8 - - - 30, 30 - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 62 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 465, 22 - - - button33 - - - $this - - - 270 - - - $this - - - $this - - - 248 - - - 24, 24 - - - btnNUM2 - - - I - - - Popup - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - LWin - - - 581, 82 - - - 24, 24 - - - 76 - - - btnPGUP - - - 30, 30 - - - 257 - - - btn7 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 103 - - - $this - - - 10 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 66, 112 - - - LCtrl - - - 336, 22 - - - $this - - - 134 - - - cbScanCode - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - 27, 24 - - - Popup - - - $this - - - 24, 24 - - - - - - - Popup - - - Popup - - - 185 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnX - - - 307 - - - Keyboard and Mouse - - - btnNUM8 - - - 313 - - - 276, 52 - - - = - - - 33, 24 - - - 204 - - - btnCAPS - - - 743, 118 - - - : - - - 239 - - - 42 - - - Num Lock - - - button8 - - - Popup - - - Keybaord - - - Popup - - - 8 - - - 30, 30 - - - btnNUM9 - - - True - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 39 - - - $this - - - 71 - - - Popup - - - Popup - - - 0 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - . - - - RAlt - - - RWin - - - / - - - $this - - - 75, 23 - - - 27, 24 - - - $this - - - 159, 172 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 68 - - - 36 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 205 - - - $this - - - btnNUM6 - - - btnL - - - 151 - - - $this - - - lBMacroOn - - - btnNUMENTER - - - 641, 82 - - - RShift - - - button19 - - - 186, 22 - - - 581, 142 - - - 23 - - - 196 - - - $this - - - 27, 24 - - - 101 - - - $this - - - 9 - - - $this - - - 254 - - - F6 - - - Popup - - - 216 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - btnK - - - 156, 112 - - - btnRSR - - - 1 - - - 24, 24 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 89 - - - 95, 269 - - - True - - - 264 - - - 5Numpad - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnFallBack - - - 671, 142 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 117 - - - 596, 5 - - - bk - - - $this - - - 79 - - - Popup - - - F5 - - - $this - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 29 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 128 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 66, 22 - - - Popup - - - Popup - - - 195 - - - 146 - - - $this - - - 292, 268 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 221 - - - btnF9 - - - Default - - - 6 - - - 531, 82 - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - KBMlabel - - - btnPLAYPAUSE - - - $this - - - Popup - - - btnU - - - False - - - 350, 379 - - - $this - - - 794, 167 - - - 138 - - - 288 - - - btnRSL - - - Popup - - - 297 - - - X360Label - - - btnF - - - 794, 107 - - - btnRETURN - - - 24, 24 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 112 - - - 24, 24 + + 798, 280 StretchImage - - button13 + + + 322 - + + pictureBox1 + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 157 + + + NoControl + + + 760, 44 + + + 97, 140 + + + Zoom + + + 290 + + + pictureBox2 + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 156 + + Popup - - bnMacro + + NoControl - - 306, 52 + + 218, 25 - + + 27, 24 + + + 258 + + + F6 + + + btnF6 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - btnMINUS + + 7 - - $this - - - $this - - - 33, 24 - - - 219 - - - btnC - - - 186, 52 - - - 197 - - - btnF12 - - + Popup - - 33, 24 + + NoControl - - 56 + + 188, 25 - - 172 + + 27, 24 - - F2 + + 259 - + + F5 + + + btnF5 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - btnSLASH + + $this - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 9 - - btnLSHIFT - - + Popup - - 178 + + NoControl - - 110 + + 248, 25 - - 300 + + 27, 24 - - 611, 52 + + 257 - - 24, 54 + + F7 - + + btnF7 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - $this + + 11 - - 24, 24 - - - 323 - - - 116 - - - 20 - - + Popup - - $this + + NoControl - - btnRSD - - - 305 - - - Record a macro - - - Scan Code - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 40 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 9, 52 - - - F10 - - - 10, 6 - - - 238 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 66, 52 - - - button20 - - - 179 - - - F1 - - - 24, 24 - - - $this - - - 177 - - - 44 - - - 868, 413 - - - 22 - - - 170 + + 158, 25 27, 24 - - 24, 24 + + 260 - - 311 + + F4 - - 30, 30 + + btnF4 - - 24, 24 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 60, 269 - - + $this + + 13 + + + Popup + + + NoControl + + + 278, 25 + + + 27, 24 + + + 256 + + + F8 + + + btnF8 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 15 + + + Popup + + + NoControl + + + 128, 25 + + + 27, 24 + + + 261 + + + F3 + + + btnF3 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + $this - + + 17 + + + Popup + + + NoControl + + + 308, 25 + + + 27, 24 + + + 255 + + + F9 + + + btnF9 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 641, 52 + + $this - - button30 + + 19 - - 138, 24 + + Popup + + + NoControl + + + 98, 25 + + + 27, 24 + + + 262 + + + F2 + + + btnF2 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 21 + + + Popup + + + NoControl + + + 467, 55 + + + 33, 24 + + + 265 + + + ins + + + btnINS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 23 + + + Popup + + + NoControl + + + 68, 25 + + + 27, 24 + + + 263 + + + F1 + + + btnF1 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 25 + + + Popup + + + NoControl + + + 500, 55 + + + 33, 24 + + + 253 + + + hm + + + btnHOME + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 27 + + + Popup + + + NoControl + + + 38, 55 + + + 24, 24 + + + 264 + + + 1 + + + btn1 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 29 + + + Popup + + + NoControl + + + 533, 55 + + + 33, 24 + + + 238 + + + pgu + + + btnPGUP + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 31 + + + Popup + + + NoControl + + + 398, 55 + + + 51, 24 + + + 234 + + + Backspace + + + btnBACKSPACE + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 33 + + + Popup + + + NoControl + + + 533, 85 + + + 33, 24 + + + 252 + + + pgd + + + btnPGDN + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 35 + + + Popup + + + NoControl + + + 368, 55 + + + 24, 24 + + + 233 + + + = + + + btnEQUALS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 37 + + + Popup + + + NoControl + + + 500, 85 + + + 33, 24 + + + 251 + + + end + + + btnEND + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 39 Popup - - 35 + + NoControl - + + 338, 55 + + 24, 24 - - 181 + + 232 - + + - + + + btnMINUS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - + + 41 + + + Popup + + + NoControl + + + 467, 85 + + + 33, 24 + + + 250 + + + del + + + btnDEL + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 43 + + + Popup + + + NoControl + + + 308, 55 + + + 24, 24 + + + 231 + + + 0 + + + btn0 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 45 + + + Popup + + + NoControl + + + 500, 25 + + + 33, 24 + + + 247 + + + scl + + + btnSCL + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 47 + + + Popup + + + NoControl + + + 278, 55 + + + 24, 24 + + + 230 + + + 9 + + + btn9 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 49 + + + False + + + Popup + + + NoControl + + + 467, 25 + + + 33, 24 + + + 241 + + + prt + + + button34 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 51 + + + Popup + + + NoControl + + + 248, 55 + + + 24, 24 + + + 229 + + + 8 + + + btn8 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 53 + + + Popup + + + Webdings, 8.25pt + + + NoControl + + + 613, 26 + + + 24, 24 + + + 246 + + + < + + + btnSTOP + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 55 + + + Popup + + + NoControl + + + 218, 55 + + + 24, 24 + + + 228 + + + 7 + + + btn7 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 56 + + + Popup + + + Webdings, 8.25pt + + + NoControl + + + 643, 26 + + + 24, 24 + + + 245 + + + 4 + + + btnPLAYPAUSE + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 58 + + + Popup + + + NoControl + + + 188, 55 + + + 24, 24 + + + 227 + + + 6 + + + btn6 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 60 + + + Popup + + + Webdings, 8.25pt + + + NoControl + + + 673, 26 + + + 24, 24 + + + 244 + + + : + + + btnNEXTTRACK + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 62 + + + Popup + + + NoControl + + + 158, 55 + + + 24, 24 + + + 226 + + + 5 + + + btn5 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 64 + + + Popup + + + Webdings, 8.25pt + + + NoControl + + + 583, 26 + + + 24, 24 + + + 243 + + + 9 + + + btnPREVTRACK + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 66 + + + Popup + + + NoControl + + + 128, 55 + + + 24, 24 + + + 225 + + + 4 + + + btn4 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 68 + + + Popup + + + NoControl + + + 703, 26 + + + 40, 24 + + + 242 + + + ↑Volume Up + + + button38 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 70 + + + Popup + + + NoControl + + + 98, 55 + + + 24, 24 + + + 224 + + + 3 + + + btn3 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 72 + + + Popup + + + NoControl + + + 703, 55 + + + 40, 24 + + + 249 + + + ↓Volume Down + + + button39 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 74 + + + Popup + + + NoControl + + + 68, 55 + + + 24, 24 + + + 223 + + + 2 + + + btn2 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 76 + + + Popup + + + NoControl + + + 703, 85 + + + 40, 24 + + + 248 + + + ØVolume Mute + + + button35 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 78 + + + Popup + + + NoControl + + + 161, 175 + + + 138, 24 + + + 222 + + + Space + + + btnSPACE + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 80 + + + Popup + + + NoControl + + + 533, 25 + + + 33, 24 + + + 240 + + + bk + + + btnBREAK + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 82 + + + Popup + + + NoControl + + + 11, 145 + + + 66, 24 + + + 221 + + + LShift + + + btnLSHIFT + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 84 + + + Popup + + + NoControl + + + 413, 25 + + + 33, 24 + + + 239 + + + F12 + + + btnF12 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 86 + + + Popup + + + NoControl + + + 383, 145 + + + 66, 24 + + + 220 + + + RShift + + + btnRSHIFT + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 88 + + + Popup + + + NoControl + + + 338, 25 + + + 33, 24 + + + 254 + + + F10 + + + btnF10 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 90 + + + Popup + + + NoControl + + + 353, 145 + + + 24, 24 + + + 219 + + + / + + + btnSLASH + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 92 + + + Popup + + + NoControl + + + 374, 25 + + + 33, 24 + + + 237 + + + F11 + + + btnF11 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 94 + + + Popup + + + NoControl + + + 323, 145 + + + 24, 24 + + + 218 + + + . + + + btnPERIOD + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 96 + + + Popup + + + NoControl + + + 11, 55 + + + 24, 24 + + + 236 + + + ` + + + btnTILDE + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 98 + + + Popup + + + NoControl + + + 293, 145 + + + 24, 24 + + + 217 + + + , + + + btnCOMMA + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 100 + + + Popup + + + NoControl + + + 263, 145 + + + 24, 24 + + + 216 + + + M + + + btnM + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 102 + + + Popup + + + NoControl + + + 583, 55 + + + 24, 24 + + + 273 + + + Num Lock + + + btnNUMLOCK + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 104 + + + Popup + + + NoControl + + + 233, 145 + + + 24, 24 + + + 215 + + + N + + + btnN + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 106 + + + Popup + + + NoControl + + + 583, 85 + + + 24, 24 + + + 272 + + + 7Numpad + + + btnNUM7 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 108 + + + Popup + + + NoControl + + + 203, 145 + + + 24, 24 + + + 214 + + + B + + + btnB + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 110 + + + Popup + + + NoControl + + + 613, 55 + + + 24, 24 + + + 271 + + + /Numpad + + + btnNUMSLASH + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 112 + + + Popup + + + NoControl + + + 173, 145 + + + 24, 24 + + + 213 + + + V + + + btnV + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 114 + + + Popup + + + NoControl + + + 613, 85 + + + 24, 24 + + + 270 + + + 8Numpad + + + btnNUM8 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 116 + + + Popup + + + NoControl + + + 143, 145 + + + 24, 24 + + + 212 + + + C + + + btnC + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 118 + + + Popup + + + NoControl + + + 643, 55 + + + 24, 24 + + + 274 + + + *Numpad + + + btnNUMSTAR + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 120 + + + Popup + + + NoControl + + + 113, 145 + + + 24, 24 + + + 211 + + + X + + + btnX + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 122 + + + Popup + + + NoControl + + + 643, 85 + + 24, 24 269 - - 282 + + 9Numpad - - 465, 52 + + btnNUM9 - - 147 - - - 184 - - - 251 - - + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 28 + + $this - - 201, 142 + + 124 - + Popup + + NoControl + + + 83, 145 + + + 24, 24 + + + 210 + + + Z + + + btnZ + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 126 + + + Popup + + + NoControl + + + 673, 55 + + + 24, 24 + + + 268 + + + -Numpad + + + btnNUMMINUS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 128 + + + Popup + + + NoControl + + + 353, 175 + + + 39, 24 + + + 202 + + + RAlt + + + btnRALT + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 130 + + + Popup + + + NoControl + + + 673, 85 + + + 24, 54 + + + 267 + + + + + + + btnNUMPLUS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 132 + + + Popup + + + NoControl + + + 305, 175 + + + 42, 24 + + + 205 + + + RWin + + + button36 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 134 + + + Popup + + + NoControl + + + 673, 145 + + + 24, 54 + 266 - + + Enter + + + btnNUMENTER + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 231 + + 136 - + + Popup + + + NoControl + + + 113, 175 + + + 42, 24 + + + 204 + + + LWin + + + btnWINDOWS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 235 + + 138 - - F7 + + Popup - - btnY + + NoControl - + + 583, 115 + + 24, 24 - + + 281 + + + 4Numpad + + + btnNUM4 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 140 + + + Popup + + + NoControl + + + 68, 175 + + + 39, 24 + + + 203 + + + LAlt + + + btnLALT + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 142 + + + Popup + + + NoControl + + + 613, 115 + + + 24, 24 + + + 278 + + + 5Numpad + + + btnNUM5 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 144 + + + Popup + + + NoControl + + + 398, 175 + + + 51, 24 + + + 209 + + + RCtrl + + + btnRCTRL + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 146 + + + Popup + + + NoControl + + + 583, 145 + + + 24, 24 + + + 282 + + + 1Numpad + + + btnNUM1 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 148 + + + Popup + + + NoControl + + + 11, 175 + + + 51, 24 + + + 207 + + + LCtrl + + + btnLCTRL + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 150 + + + Popup + + + NoControl + + + 643, 115 + + + 24, 24 + + + 277 + + + 6Numpad + + + btnNUM6 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 152 + + + Popup + + + NoControl + + + 11, 115 + + + 51, 24 + + + 208 + + + Caps + + + btnCAPS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 154 + + + Popup + + + NoControl + + + 583, 175 + + + 54, 24 + + + 280 + + + Num0 + + + btnNUM0 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 155 + + + Popup + + + NoControl + + + 398, 115 + + + 51, 24 + + + 206 + + + Enter + + + btnRETURN + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 153 + + + Popup + + + NoControl + + + 613, 145 + + + 24, 24 + + + 279 + + + 2Numpad + + + btnNUM2 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 151 + + + Popup + + + NoControl + + + 368, 115 + + + 24, 24 + + + 201 + + + ' + + + btnAPOSTROPHE + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 149 + + + Popup + + + NoControl + + + 643, 145 + + + 24, 24 + + + 276 + + + 3Numpad + + + btnNUM3 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 147 + + + True + + + NoControl + + + 16, 212 + + + 58, 13 + + + 0 + + + Flash Rate + + + label1 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 4 + + + True + + + NoControl + + + 16, 23 + + + 43, 13 + + + 0 + + + Rumble + + + lbRumble + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 2 + + + True + + + NoControl + + + 17, 47 + + + 38, 13 + + + 0 + + + Heavy + + + lbHeavy + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + 5 - - 531, 22 + + True - - btnD + + NoControl - - 211 + + 17, 74 - - btnMIDDLEMOUSE + + 30, 13 - + + 0 + + + Light + + + lbLight + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 10 + + + 61, 45 + + + 49, 20 + + + 1 + + + nUDHeavy + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 11 + + + 61, 72 + + + 49, 20 + + + 1 + + + nUDLight + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 13 + + + Popup + + + NoControl + + + 218, 115 + + + 24, 24 + + + 196 + + + H + + + btnH + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 129 + + + 80, 209 + + + 42, 20 + + + 1 + + + nUDLightFlash + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 14 + + + False + + + NoControl + + + 34, 179 + + + 100, 20 + + + 163 + + + tBBlueBar + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 17 + + + Popup + + + NoControl + + + 308, 115 + + + 24, 24 + + + 199 + + + L + + + btnL + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 141 + + + Popup + + + NoControl + + + 278, 115 + + + 24, 24 + + + 198 + + + K + + + btnK + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 137 + + + Popup + + + NoControl + + + 248, 115 + + + 24, 24 + + + 197 + + + J + + + btnJ + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 133 + + + Popup + + + NoControl + + + 533, 176 + + + 33, 24 + + + 285 + + + →Right + + + button5 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 131 + + + False + + + NoControl + + + 33, 153 + + + 100, 20 + + + 162 + + + tBGreenBar + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 19 + + + False + + + NoControl + + + 33, 127 + + + 100, 20 + + + 161 + + + tBRedBar + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 20 + + + True + + + NoControl + + + 17, 182 + + + 14, 13 + + + 166 + + + B + + + lbBlue + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 18 + + + True + + + NoControl + + + 17, 156 + + + 15, 13 + + + 165 + + + G + + + lbGreen + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 15 + + + Popup + + + NoControl + + + 338, 115 + + + 24, 24 + + + 200 + + + ; + + + btnSEMICOLON + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 145 + + + Popup + + + NoControl + + + 500, 146 + + + 33, 24 + + + 286 + + + ↑Up + + + button7 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 127 + + + NoControl + + + 71, 18 + + + 42, 23 + + + 2 + + + Test + + + bnTest + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 16 + + + True + + + NoControl + + + 17, 130 + + + 15, 13 + + + 164 + + + R + + + lbRed + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 12 + + + Popup + + + NoControl + + + 467, 176 + + + 33, 24 + + + 284 + + + ←Left + + + button4 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 135 + + + 100, 261 + + + 49, 20 + + + 242 + + + nUDMouse + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 3 + + + Popup + + + NoControl + + + 500, 176 + + + 33, 24 + + + 283 + + + ↓Down + + + button6 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 139 + + + Flat + + + NoControl + + + 141, 108 + + + 13, 13 + + + 167 + + + bnColor + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 6 + + + Popup + + + NoControl + + + 643, 175 + + + 24, 24 + + + 275 + + + . + + + btnNUMDOT + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 143 + + + Popup + + + NoControl + + + 188, 115 + + + 24, 24 + + + 195 + + + G + + + btnG + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 125 + + + True + + + NoControl + + + 663, 8 + + + Yes + + + 79, 17 + + + 288 + + + Scan Code + + + cbScanCode + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 123 + + + Popup + + + NoControl + + + 158, 115 + + 24, 24 194 - - $this - - - 97, 140 - - - 9Numpad - - - Popup - - - btnLCTRL - - - 272 - - - 24, 24 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 52 - - - Popup - - - 30, 30 - - - Popup - - - 30, 30 - - - 33, 24 - - - 206 - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 747, 1 - - - $this - - - 261, 142 - - - $this - - - 130 - - - $this - - - ↓Down - - - 290 - - - $this - - - 226 - - - 167 - - - 366, 112 - - - Popup - - - 114 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 33, 24 - - - 33 - - - 213 - - - Popup - - - 201 - - - $this - - - btnF7 - - - $this - - - 283 - - - hm - - - Popup - - - 40, 24 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnR - - - 94 - - - 336, 52 - - - A - - - 9, 142 - - - 108, 13 - - - $this - - - 80 - - - 84 - - - Popup - - - 43 - - - 366, 52 - - - 121 - - - Popup - - - 216, 52 - - - 30, 30 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 95, 235 - - - 156 - - - ØVolume Mute - - - $this - - - $this - - - 259 - - - ↓Mouse Down - - - $this - - - Popup - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - LShift - - - 8Numpad - - - 611, 112 - - - $this - - - 30, 30 - - - N - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 4 - - - Popup - - - Popup - - - 19, 24 - - - 351, 142 - - - $this - - - Popup - F - - F11 - - - 33, 24 + + btnF System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 24, 22 - - - 75 - - - 40, 24 - - - 191 - - - btn6 - - - 758, 41 - - + $this - - 30, 30 + + 121 - + + True + + + NoControl + + + 464, 113 + + + 103, 26 + + + 289 + + + You can also select +a key by typing it + + + TopCenter + + + lBTip + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 17 + + 119 - - 537, 267 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 215 - - - 4th Mouse Button - - - 78 - - - 24, 24 - - - btnN - - - 24, 24 - - + Popup - - 299 + + NoControl + + + 128, 115 + + + 24, 24 + + + 193 + + + D + + + btnD + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 117 + + + NoControl + + + 737, 312 + + + 30, 30 + + + 293 + + + button3 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 115 + + + Popup + + + NoControl + + + 98, 115 + + + 24, 24 + + + 192 + + + S + + + btnS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 113 + + + NoControl + + + 411, 326 50, 30 - + + 291 + + + Guide + + + button21 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this + + 111 + + + Popup + + + NoControl + + + 68, 115 + + + 24, 24 + + + 191 + + + A + + + btnA + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 109 + + + NoControl + + + 467, 326 + + + 30, 30 + + + 294 + + + button22 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 107 + + + Popup + + + NoControl + + + 11, 85 + + + 36, 24 + + + 189 + + + Tab + + + btnTAB + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 105 + + + NoControl + + + 375, 326 + + + 30, 30 + + + 292 + + + button23 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 103 + + + Popup + + + NoControl + + + 413, 85 + + + 36, 24 + + + 190 + + + \ + btnBACKSLASH - - B - - - ↑Volume Up - - - $this - - - 33, 24 - - - btnF2 - - - 144 - - - btn5 - - - $this - - - 141, 82 - - - 231, 142 - - - 498, 82 - - + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + $this + + + 101 + + + NoControl + + + 770, 279 + + + 30, 30 + + + 295 + + + button8 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 99 + + + Popup + + + NoControl + + + 383, 85 + + + 24, 24 + + + 188 + + + ] + + + btnCLOSEBRACKET + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 97 + + + NoControl + + + 705, 279 + + + 30, 30 + + + 296 + + + button9 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 95 + + + Popup + + + NoControl + + + 353, 85 + + + 24, 24 + + + 187 + + + [ + + + btnOPENBRACKET + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 93 + + + NoControl + + + 737, 247 + + + 30, 30 + + + 297 + + + button10 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 91 + + + Popup + + + NoControl + + + 323, 85 + + + 24, 24 + + + 186 + + + P + + + btnP + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 89 + + + NoControl + + + 294, 271 + + + 30, 30 + + + 299 + + + button11 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 87 + + + Popup + + + NoControl + + + 293, 85 + + + 24, 24 + + + 185 + + + O + + + btnO + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 85 + + + NoControl + + + 184, 343 + + + 30, 30 + + + 304 + + + button17 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 83 + + + Popup + + + NoControl + + + 263, 85 + + + 24, 24 + + + 184 + + + I + + + btnI + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 81 + + + NoControl + + + 154, 317 + + + 30, 30 + + + 305 + + + button18 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 79 + + + Popup + + + NoControl + + + 233, 85 + + + 24, 24 + + + 183 + + + U + + + btnU + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 77 + + + NoControl + + + 154, 373 + + 30, 30 306 - - F9 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 217 - - - 50 - - - btnM - - - 701, 52 - - - btnF6 + + button20 System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 51, 24 - - - bTNRIGHTMOUSE - - + $this - - 66, 172 - - - button18 - - - 24, 24 - - - $this - - - 143 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 322 - - - $this - - - 2 - - - 108 - - - Popup - - - F8 - - - 30, 30 - - - btnSTOP - - - F3 - - - $this - - - 48 - - - 224 - - - C - - - 277 - - - $this - - - 66, 24 - - - 314 - - - btnCLOSEBRACKET - - - btnF4 - - - 30, 30 - - - 193 - - - RCtrl - - - 261, 82 - - - $this - - - 243 - - - 321, 142 - - - 79, 17 - - - 276, 22 - - - Popup - - - 279 - - - 73 - - - 233 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 41 - - - 276, 112 - - - Popup - - - $this - - - 33, 24 - - - button38 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - button3 - - - 24, 24 - - - 322, 13 - - - 126, 112 - - - 30, 30 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 152, 314 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 278 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 317 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 207 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Popup - - - 227 - - - Popup - - - Popup - - - 86 - - - 289 - - - 24, 24 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 113 - - - btnNUMSLASH - - - Macro On, Choose a key to disable, else close this window to save - - - 111, 142 - - - 83 - - - Toggle - - - 30, 30 - - - 273 - - - Popup - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - . - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnESC - - - Yes - - - 30, 30 - - - 230 - - - 129 - - - Popup - - - 189 - - - btnP - - - $this - - - TopCenter - - - 498, 52 - - - btnBACKSPACE - - - 209 - - - 373, 323 - - - 105 - - - 77 - - - 58 - - - $this - - - Webdings, 8.25pt - - - 411, 82 + + 75 Popup - - 268 + + NoControl - + + 203, 85 + + 24, 24 - - 2Numpad + + 182 - - 92 + + Y - - del + + btnY - + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 798, 280 - - - 60 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 318 - - + $this - - True + + 73 - + + NoControl + + + 124, 343 + + + 30, 30 + + + 307 + + + button19 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 24, 24 - - - button22 - - - $this - - - 240 - - - Popup - - - 247 - - - 303 - - - 25 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 641, 23 - - - 175 - - - 295 - - - 24, 24 - - - 531, 52 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 141 - - - 139 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 640, 348 - - - $this - - - $this - - - btnSEMICOLON - - - 19, 24 - - - 122 - - - 7 - - - 9, 172 - - - 281 - - - ←Left - - - < - - - btn4 - - - 252 - - - ↑Up - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 46 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnNUMLOCK - - - 90 - - - btnF8 - - - Middle Mouse Button - - - 81, 142 - - - 231, 82 - - - 393, 5 - $this - + + 71 + + + Popup + + + NoControl + + + 173, 85 + + + 24, 24 + + + 181 + + + T + + + btnT + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 69 + + + NoControl + + + 324, 221 + + + 30, 30 + + + 313 + + + button13 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 67 + + + Popup + + + NoControl + + + 143, 85 + + + 24, 24 + + + 180 + + + R + + + btnR + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 65 + + + True + + + NoControl + + + 395, 213 + + + 73, 13 + + + 318 + + + X360 Controls + + + X360Label + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + 63 + + Popup + + + NoControl + + + 826, 85 + + + 24, 24 + + + 178 + + + Right Mouse Button + + + bTNRIGHTMOUSE + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 61 + + + True + + + NoControl + + + 395, 8 + + + 108, 13 + + + 318 + + + Keyboard and Mouse + + + KBMlabel + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 59 + + + Popup + + + NoControl + + + 113, 85 + + + 24, 24 + + + 179 + + + E + + + btnE + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 57 + + + True + + + NoControl + + + 12, 9 + + + 322, 13 + + + 319 + + + Macro On, Choose a key to disable, else close this window to save + + + False + + + lBMacroOn + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 3 + + + Popup + + + NoControl + + + 796, 110 + + + 24, 21 + + + 175 + + + ↓Mouse Wheel Down + + + bnWHEELDOWN + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 54 + + + NoControl + + + 749, 4 + + + 118, 23 + + + 321 + + + Record a macro + + + bnMacro + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 52 + + + Popup + + + NoControl + + + 796, 62 + + + 24, 22 + + + 174 + + + ↑Mouse Wheel Up + + + bnWHEELUP + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 50 + + + NoControl + + + 642, 351 + + + 30, 30 + + + 311 + + + btnRSL + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 48 + + + Popup + + + NoControl + + + 796, 85 + + + 24, 24 + + + 176 + + + Middle Mouse Button + + + btnMIDDLEMOUSE + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 46 + + + NoControl + + + 675, 385 + + + 30, 30 + + + 309 + + + btnRSD + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 44 + + + Popup + + + NoControl + + + 83, 85 + + + 24, 24 + + + 177 + + + W + + + btnW + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 42 + + + NoControl + + + 708, 351 + + + 30, 30 + + + 314 + + + btnRSR + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 40 + + + Popup + + + NoControl + + + 831, 150 + + + 19, 24 + + + 169 + + + 5th Mouse Button + + + button33 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 38 + + + NoControl + + + 539, 270 + + + 30, 30 + + + 298 + + + btnRB + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 36 + + + Popup + + + NoControl + + + 766, 149 + + + 19, 24 + + + 173 + + + 4th Mouse Button + + + button30 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 34 + + + NoControl + + + 62, 272 + + + 30, 30 + + + 310 + + + btnLSL + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 32 + + + Popup + + + NoControl + + + 843, 120 + + + 24, 24 + + + 171 + + + →Mouse Right + + + btnMOUSERIGHT + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 30 + + + NoControl + + + 675, 318 + + + 30, 30 + + + 302 + + + btnRSU + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 28 + + + Popup + + + NoControl + + + 745, 121 + + + 24, 24 + + + 172 + + + ←Mouse Left + + + btnMOUSELEFT + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 26 + + + NoControl + + + 97, 305 + + + 30, 30 + + + 308 + + + btnLSD + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 24 + + + Popup + + + NoControl + + + 796, 170 + + + 24, 24 + + + 170 + + + ↓Mouse Down + + + btnMOUSEDOWN + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 22 + + + NoControl + + + 511, 220 + + + 30, 30 + + + 312 + + + button2 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 20 + + + Popup + + + NoControl + + + 796, 28 + + + 24, 24 + + + 167 + + + ↑Mouse Up + + + btnMOUSEUP + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 18 + + + NoControl + + + 132, 272 + + + 30, 30 + + + 315 + + + btnLSR + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 16 + + + Popup + + + NoControl + + + 766, 85 + + + 24, 24 + + + 168 + + + Left Mouse Button + + + btnLEFTMOUSE + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 14 + + + NoControl + + + 675, 351 + + + 30, 30 + + + 303 + + + btnRS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 12 + + + Popup + + + NoControl + + + 53, 85 + + + 24, 24 + + + 0 + + + Q + + + btnQ + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 10 + + + NoControl + + + 97, 238 + + + 30, 30 + + + 300 + + + btnLSU + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 8 + + + NoControl + + + 97, 272 + + + 30, 30 + + + 301 + + + btnLS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 6 + + + True + + + NoControl + + + 598, 8 + + + Yes + + + 59, 17 + + + 287 + + + Toggle + + + cbToggle + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 5 + + + NoControl + + + 352, 382 + + + 75, 23 + + + 323 + + + Default + + + btnFallBack + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 4 + + + NoControl + + + 442, 382 + + + 75, 23 + + + 317 + + + Unbound + + + btnUNBOUND2 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 2 + + + Popup + + + NoControl + + + 11, 25 + + + 51, 24 + + + 235 + + + Escape + + + btnESC + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 1 + + + True + + + MiddleRight + + + NoControl + + + 18, 249 + + + No + + + 73, 43 + + + 243 + + + Change +Mouse +Sensitivity + + + cBMouse + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 0 + + + True + + + MiddleRight + + + NoControl + + + 19, 107 + + + No + + + 89, 17 + + + 243 + + + Change Light + + + cBLightbar + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 1 + + + True + + + NoControl + + + 138, 182 + + + 25, 13 + + + 0 + + + 255 + + + lbBlueV + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 7 + + + True + + + NoControl + + + 138, 154 + + + 25, 13 + + + 0 + + + 255 + + + lbGreenV + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 8 + + + True + + + NoControl + + + 138, 129 + + + 25, 13 + + + 0 + + + 255 + + + lbRedV + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBExtras + + + 9 + + + Right + + + 871, 0 + + + 167, 424 + + + 324 + + + Extras + + + gBExtras + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 0 + + + 17, 17 + True + + 96, 96 + + + 1038, 424 + + + Keybaord + + + advColorDialog + + + DS4Windows.AdvancedColorDialog, DS4Windows, Version=1.4.2.0, Culture=neutral, PublicKeyToken=null + + + KBM360 + + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/DS4Tool/Options.cs b/DS4Tool/Options.cs index 7084202..3b6d6e9 100644 --- a/DS4Tool/Options.cs +++ b/DS4Tool/Options.cs @@ -470,18 +470,18 @@ namespace DS4Windows kbm360.ShowDialog(); } - public void ChangeButtonText(string controlname, object tag) + public void ChangeButtonText(string controlname, KeyValuePair tag) { lastSelected.Text = controlname; int value; - if (tag == null) - lastSelected.Tag = tag; - else if (Int32.TryParse(tag.ToString(), out value)) - lastSelected.Tag = value; - else if (tag is Int32[]) + if (tag.Key == null) lastSelected.Tag = tag; + else if (Int32.TryParse(tag.Key.ToString(), out value)) + lastSelected.Tag = new KeyValuePair(value, tag.Value); + else if (tag.Key is Int32[]) + lastSelected.Tag = new KeyValuePair((Int32[])tag.Key, tag.Value); else - lastSelected.Tag = tag.ToString(); + lastSelected.Tag = new KeyValuePair(tag.Key.ToString(), tag.Value); } public void ChangeButtonText(string controlname) { @@ -490,11 +490,11 @@ namespace DS4Windows } public void Toggle_Bn(bool SC, bool TG, bool MC, bool MR) { - if (lastSelected.Tag is int || lastSelected.Tag is UInt16 || lastSelected.Tag is int[]) + if (lastSelected.Tag is KeyValuePair || lastSelected.Tag is KeyValuePair || lastSelected.Tag is KeyValuePair) lastSelected.Font = new Font(lastSelected.Font, (SC ? FontStyle.Bold : FontStyle.Regular) | (TG ? FontStyle.Italic : FontStyle.Regular) | (MC ? FontStyle.Underline : FontStyle.Regular) | (MR ? FontStyle.Strikeout : FontStyle.Regular)); - else if (lastSelected.Tag is string) + else if (lastSelected.Tag is KeyValuePair) if (lastSelected.Tag.ToString().Contains("Mouse Button")) lastSelected.Font = new Font(lastSelected.Font, TG ? FontStyle.Italic : FontStyle.Regular); else @@ -534,12 +534,8 @@ namespace DS4Windows tBGreenBar.Value = advColorDialog.Color.G; tBBlueBar.Value = advColorDialog.Color.B; } - else Global.saveColor(device, oldLedColor[0], oldLedColor[1], oldLedColor[2]); - Global.saveChargingColor(device, oldChargingColor[0], oldChargingColor[1], oldChargingColor[2]); - Global.saveLowColor(device, oldLowLedColor[0], oldLowLedColor[1], oldLowLedColor[2]); - oldChargingColor = null; - oldLedColor = null; - oldLowLedColor = null; + if (device < 4) + DS4Control.DS4LightBar.forcelight[device] = false; } private void lowColorChooserButton_Click(object sender, EventArgs e) { @@ -552,12 +548,8 @@ namespace DS4Windows tBLowGreenBar.Value = advColorDialog.Color.G; tBLowBlueBar.Value = advColorDialog.Color.B; } - else Global.saveLowColor(device, oldLowLedColor[0], oldLowLedColor[1], oldLowLedColor[2]); - Global.saveChargingColor(device, oldChargingColor[0], oldChargingColor[1], oldChargingColor[2]); - Global.saveColor(device, oldLedColor[0], oldLedColor[1], oldLedColor[2]); - oldChargingColor = null; - oldLedColor = null; - oldLowLedColor = null; + if (device < 4) + DS4Control.DS4LightBar.forcelight[device] = false; } @@ -569,30 +561,18 @@ namespace DS4Windows { btnChargingColor.BackColor = advColorDialog.Color; } - else Global.saveChargingColor(device, oldChargingColor[0], oldChargingColor[1], oldChargingColor[2]); - Global.saveLowColor(device, oldLowLedColor[0], oldLowLedColor[1], oldLowLedColor[2]); - Global.saveColor(device, oldLedColor[0], oldLedColor[1], oldLedColor[2]); - oldChargingColor = null; - oldLedColor = null; - oldLowLedColor = null; + if (device < 4) + DS4Control.DS4LightBar.forcelight[device] = false; } private void advColorDialog_OnUpdateColor(object sender, EventArgs e) { - if (oldLedColor == null || oldLowLedColor == null || oldChargingColor == 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 }; - color = Global.loadChargingColor(device); - oldChargingColor = new Byte[] { color.red, color.green, color.blue }; - } - if (sender is Color) + if (sender is Color && device < 4) { Color color = (Color)sender; - Global.saveColor(device, color.R, color.G, color.B); - Global.saveLowColor(device, color.R, color.G, color.B); - Global.saveChargingColor(device, color.R, color.G, color.B); + DS4Library.DS4Color dcolor = new DS4Library.DS4Color { red = color.R, green = color.G, blue = color.B }; + DS4Control.DS4LightBar.forcedColor[device] = dcolor; + DS4Control.DS4LightBar.forcedFlash[device] = 0; + DS4Control.DS4LightBar.forcelight[device] = true; } } int bgc = 255; //Color of the form background, If greyscale color @@ -1434,7 +1414,7 @@ namespace DS4Windows private void cBDinput_CheckedChanged(object sender, EventArgs e) { Global.setDinputOnly(device, cBDinput.Checked); - if (device > 4) + if (device < 4) { root.btnStartStop_Clicked(false); root.btnStartStop_Clicked(false); diff --git a/DS4Tool/Options.resx b/DS4Tool/Options.resx index 22319d4..79c7061 100644 --- a/DS4Tool/Options.resx +++ b/DS4Tool/Options.resx @@ -1363,24 +1363,6 @@ 1 - - True - - - NoControl - - - 209, 20 - - - 142, 17 - - - 233 - - - Start with Slide/Scroll off - cbStartTouchpadOff @@ -1417,6 +1399,180 @@ 4 + + True + + + NoControl + + + 209, 20 + + + 142, 17 + + + 233 + + + Start with Slide/Scroll off + + + cbStartTouchpadOff + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBTouchpad + + + 0 + + + cBTPforControls + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBOther + + + 0 + + + cBDinput + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBOther + + + 1 + + + pBProgram + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBOther + + + 2 + + + cBLaunchProgram + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBOther + + + 3 + + + btnBrowse + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBOther + + + 4 + + + lbUseController + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBOther + + + 5 + + + cBMouseAccel + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBOther + + + 6 + + + nUDSixaxis + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBOther + + + 7 + + + cBControllerInput + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBOther + + + 8 + + + cBIdleDisconnect + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBOther + + + 10 + + + 445, 225 + + + 436, 132 + + + 247 + + + Other + + + gBOther + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 5 + True @@ -1726,48 +1882,6 @@ with profile 10 - - 445, 225 - - - 436, 132 - - - 247 - - - Other - - - gBOther - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 5 - - - True - - - NoControl - - - 8, 8 - - - 176, 17 - - - 226 - - - Use another color for shift mode - cBShiftLight @@ -1780,24 +1894,6 @@ with profile 0 - - True - - - NoControl - - - 7, 33 - - - 31, 13 - - - 225 - - - Shift: - lbShift @@ -1810,24 +1906,6 @@ with profile 1 - - True - - - NoControl - - - 57, 33 - - - 15, 13 - - - 158 - - - R - lbShiftRed @@ -1840,24 +1918,6 @@ with profile 2 - - True - - - NoControl - - - 180, 33 - - - 15, 13 - - - 159 - - - G - lbShiftGreen @@ -1870,24 +1930,6 @@ with profile 3 - - True - - - NoControl - - - 308, 33 - - - 14, 13 - - - 160 - - - B - lbShiftBlue @@ -1900,21 +1942,6 @@ with profile 4 - - False - - - NoControl - - - 73, 31 - - - 100, 20 - - - 10 - tBShiftRedBar @@ -1927,21 +1954,6 @@ with profile 5 - - False - - - NoControl - - - 196, 31 - - - 100, 20 - - - 11 - tBShiftGreenBar @@ -1954,21 +1966,6 @@ with profile 6 - - False - - - NoControl - - - 325, 31 - - - 100, 20 - - - 12 - tBShiftBlueBar @@ -2290,6 +2287,285 @@ with profile 3 + + True + + + NoControl + + + 8, 8 + + + 176, 17 + + + 226 + + + Use another color for shift mode + + + cBShiftLight + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShift + + + 0 + + + True + + + NoControl + + + 7, 33 + + + 31, 13 + + + 225 + + + Shift: + + + lbShift + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShift + + + 1 + + + True + + + NoControl + + + 57, 33 + + + 15, 13 + + + 158 + + + R + + + lbShiftRed + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShift + + + 2 + + + True + + + NoControl + + + 180, 33 + + + 15, 13 + + + 159 + + + G + + + lbShiftGreen + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShift + + + 3 + + + True + + + NoControl + + + 308, 33 + + + 14, 13 + + + 160 + + + B + + + lbShiftBlue + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShift + + + 4 + + + False + + + NoControl + + + 73, 31 + + + 100, 20 + + + 10 + + + tBShiftRedBar + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShift + + + 5 + + + False + + + NoControl + + + 196, 31 + + + 100, 20 + + + 11 + + + tBShiftGreenBar + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShift + + + 6 + + + False + + + NoControl + + + 325, 31 + + + 100, 20 + + + 12 + + + tBShiftBlueBar + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShift + + + 7 + + + lbPercentRumble + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBRumble + + + 0 + + + btnRumbleLightTest + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBRumble + + + 1 + + + 445, 12 + + + 150, 67 + + + 247 + + + Rumble + + + gBRumble + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 2 + True @@ -2347,29 +2623,77 @@ with profile 1 - - 445, 12 + + lbSixaxisX - - 150, 67 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 247 + + gBDeadzone - - Rumble + + 2 - - gBRumble + + lbSixaxisZ - + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBDeadzone + + + 3 + + + nUDSZ + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBDeadzone + + + 6 + + + nUDSX + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gBDeadzone + + + 8 + + + 601, 11 + + + 281, 67 + + + 248 + + + Deadzone + + + gBDeadzone + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 2 + + 1 True @@ -2476,33 +2800,384 @@ with profile 8 - - 601, 11 - - - 281, 67 - - - 248 - - - Deadzone - - - gBDeadzone - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 1 - 153, 17 + + pnlSixaxis + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 0 + + + lbL2Track + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 1 + + + pBDelayTracker + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 2 + + + btnSATrack + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 3 + + + btnRSTrack + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 4 + + + lbRSTip + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 5 + + + lbInputDelay + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 6 + + + lbR2Track + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 7 + + + lbLSTip + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 8 + + + lbSATip + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 9 + + + btnLSTrack + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 10 + + + pBSADeadzone + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 11 + + + pBRSDeadzone + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 12 + + + lbRSTrack + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 13 + + + pBLSDeadzone + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 14 + + + lbLSTrack + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 15 + + + tBR2 + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 16 + + + tBL2 + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 17 + + + lbSATrack + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 18 + + + 4, 22 + + + 3, 3, 3, 3 + + + 428, 216 + + + 2 + + + Controller Readings + + + tPController + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabControls + + + 2 + + + tBsixaxisAccelX + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSixaxis + + + 0 + + + lb6Accel + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSixaxis + + + 1 + + + tBsixaxisGyroX + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSixaxis + + + 2 + + + lb6Gryo + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSixaxis + + + 3 + + + tBsixaxisGyroY + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSixaxis + + + 4 + + + tBsixaxisGyroZ + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSixaxis + + + 5 + + + tBsixaxisAccelY + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSixaxis + + + 6 + + + tBsixaxisAccelZ + + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSixaxis + + + 7 + + + 300, 88 + + + 125, 125 + + + 236 + + + False + + + pnlSixaxis + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPController + + + 0 + False @@ -2725,30 +3400,6 @@ with profile 7 - - 300, 88 - - - 125, 125 - - - 236 - - - False - - - pnlSixaxis - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tPController - - - 0 - True @@ -3568,32 +4219,152 @@ with profile 18 - + + label2 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 0 + + + fLPShiftTouchSwipe + + + System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 1 + + + lbShiftGryo + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 2 + + + fLPShiftTiltControls + + + System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 3 + + + cBShiftControl + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 4 + + + lBShiftControls + + + System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 5 + + + lbHold + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 6 + + + lbtoUse + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 7 + + + pnlShiftMain + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 8 + + + pnlShiftSticks + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 9 + + 4, 22 - + 3, 3, 3, 3 - + 428, 216 - - 2 + + 1 - - Controller Readings + + Shift Modifier - - tPController + + tPShiftMod - + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tabControls - - 2 + + 1 True @@ -3626,6 +4397,75 @@ Swipes: 0 + + bnShiftSwipeUp + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPShiftTouchSwipe + + + 0 + + + bnShiftSwipeDown + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPShiftTouchSwipe + + + 1 + + + bnShiftSwipeLeft + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPShiftTouchSwipe + + + 2 + + + bnShiftSwipeRight + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPShiftTouchSwipe + + + 3 + + + 72, 219 + + + 351, 31 + + + 258 + + + fLPShiftTouchSwipe + + + System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 1 + NoControl @@ -3734,27 +4574,6 @@ Swipes: 3 - - 72, 219 - - - 351, 31 - - - 258 - - - fLPShiftTouchSwipe - - - System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tPShiftMod - - - 1 - True @@ -3785,6 +4604,75 @@ Swipes: 2 + + bnShiftGyroZN + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPShiftTiltControls + + + 0 + + + bnShiftGyroZP + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPShiftTiltControls + + + 1 + + + bnShiftGyroXP + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPShiftTiltControls + + + 2 + + + bnShiftGyroXN + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPShiftTiltControls + + + 3 + + + 72, 185 + + + 351, 31 + + + 256 + + + fLPShiftTiltControls + + + System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 3 + NoControl @@ -3893,27 +4781,6 @@ Swipes: 3 - - 72, 185 - - - 351, 31 - - - 256 - - - fLPShiftTiltControls - - - System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tPShiftMod - - - 3 - (nothing)/shift off @@ -4202,6 +5069,303 @@ Swipes: 7 + + pBShiftController + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 0 + + + bnShiftTouchUpper + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 1 + + + bnShiftTouchLeft + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 2 + + + bnShiftTouchRight + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 3 + + + bnShiftTouchMulti + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 4 + + + bnShiftR1 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 5 + + + bnShiftCross + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 6 + + + bnShiftCircle + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 7 + + + btnShiftRightStick + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 8 + + + bnShiftSquare + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 9 + + + btnShiftLightbar + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 10 + + + bnShiftTriangle + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 11 + + + bnShiftUp + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 12 + + + btnShiftLeftStick + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 13 + + + bnShiftDown + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 14 + + + bnShiftL2 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 15 + + + bnShiftRight + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 16 + + + bnShiftR2 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 17 + + + bnShiftLeft + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 18 + + + bnShiftL1 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 19 + + + bnShiftOptions + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 20 + + + bnShiftPS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 21 + + + bnShiftShare + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftMain + + + 22 + + + 7, 41 + + + 249, 137 + + + 190 + + + pnlShiftMain + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPShiftMod + + + 8 + Stretch @@ -4961,26 +6125,173 @@ Swipes: 22 - + + btnShiftFullView + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 0 + + + pBShiftSticks + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 1 + + + bnShiftL3 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 2 + + + bnShiftRSDown + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 3 + + + bnShiftLSUp + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 4 + + + bnShiftRSUp + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 5 + + + bnShiftLSLeft + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 6 + + + bnShiftRSRight + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 7 + + + bnShiftLSRight + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 8 + + + bnShiftRSLeft + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 9 + + + bnShiftLSDown + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 10 + + + bnShiftR3 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlShiftSticks + + + 11 + + 7, 41 - - 249, 137 + + 249, 143 - - 190 + + 191 - - pnlShiftMain + + False - + + pnlShiftSticks + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tPShiftMod - - 8 + + 9 NoControl @@ -5369,56 +6680,128 @@ Swipes: 11 - - 7, 41 + + label1 - - 249, 143 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 191 + + tPControls - - False + + 0 - - pnlShiftSticks + + fLPTouchSwipe - + + System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPControls + + + 1 + + + lbGryo + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPControls + + + 2 + + + fLPTiltControls + + + System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPControls + + + 3 + + + pnlMain + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - tPShiftMod + + tPControls - - 9 + + 4 - + + lBControls + + + System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPControls + + + 5 + + + lbControlTip + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPControls + + + 6 + + + pnlSticks + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPControls + + + 7 + + 4, 22 - + 3, 3, 3, 3 - + 428, 216 - - 1 + + 0 - - Shift Modifier + + Controls - - tPShiftMod + + tPControls - + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tabControls - - 1 + + 0 True @@ -5451,6 +6834,75 @@ Swipes: 0 + + bnSwipeUp + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPTouchSwipe + + + 0 + + + bnSwipeDown + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPTouchSwipe + + + 1 + + + bnSwipeLeft + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPTouchSwipe + + + 2 + + + bnSwipeRight + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPTouchSwipe + + + 3 + + + 72, 219 + + + 351, 31 + + + 256 + + + fLPTouchSwipe + + + System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPControls + + + 1 + NoControl @@ -5559,27 +7011,6 @@ Swipes: 3 - - 72, 219 - - - 351, 31 - - - 256 - - - fLPTouchSwipe - - - System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tPControls - - - 1 - True @@ -5610,6 +7041,75 @@ Swipes: 2 + + bnGyroZN + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPTiltControls + + + 0 + + + bnGyroZP + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPTiltControls + + + 1 + + + bnGyroXP + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPTiltControls + + + 2 + + + bnGyroXN + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + fLPTiltControls + + + 3 + + + 72, 185 + + + 351, 31 + + + 254 + + + fLPTiltControls + + + System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPControls + + + 3 + NoControl @@ -5718,26 +7218,302 @@ Swipes: 3 - - 72, 185 + + pBController - - 351, 31 + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 254 + + pnlMain - - fLPTiltControls + + 0 - - System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + bnTouchUpper - + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 1 + + + bnTouchLeft + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 2 + + + bnTouchRight + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 3 + + + bnTouchMulti + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 4 + + + bnR1 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 5 + + + bnCross + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 6 + + + bnCircle + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 7 + + + btnRightStick + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 8 + + + bnSquare + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 9 + + + btnLightbar + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 10 + + + bnTriangle + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 11 + + + bnUp + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 12 + + + btnLeftStick + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 13 + + + bnDown + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 14 + + + bnRight + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 15 + + + bnLeft + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 16 + + + bnL1 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 17 + + + bnOptions + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 18 + + + bnPS + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 19 + + + bnShare + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 20 + + + bnL2 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 21 + + + bnR2 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlMain + + + 22 + + + 7, 41 + + + 249, 137 + + + 185 + + + pnlMain + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + tPControls - - 3 + + 4 Stretch @@ -6498,27 +8274,6 @@ Swipes: 22 - - 7, 41 - - - 249, 137 - - - 185 - - - pnlMain - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tPControls - - - 4 - Cross : @@ -6670,6 +8425,174 @@ Click the lightbar for color picker 6 + + btnFullView + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 0 + + + pBSticks + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 1 + + + bnL3 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 2 + + + bnRSDown + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 3 + + + bnLSUp + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 4 + + + bnRSUp + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 5 + + + bnLSLeft + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 6 + + + bnRSRight + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 7 + + + bnLSRight + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 8 + + + bnRSLeft + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 9 + + + bnLSDown + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 10 + + + bnR3 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pnlSticks + + + 11 + + + 7, 41 + + + 249, 143 + + + 187 + + + False + + + pnlSticks + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tPControls + + + 7 + NoControl @@ -7057,57 +8980,6 @@ Click the lightbar for color picker 11 - - 7, 41 - - - 249, 143 - - - 187 - - - False - - - pnlSticks - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tPControls - - - 7 - - - 4, 22 - - - 3, 3, 3, 3 - - - 428, 216 - - - 0 - - - Controls - - - tPControls - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tabControls - - - 0 - 3, 3 @@ -7144,6 +9016,9 @@ Click the lightbar for color picker 890, 361 + + NoControl + 906, 400 @@ -7163,7 +9038,7 @@ Click the lightbar for color picker advColorDialog - DS4Windows.AdvancedColorDialog, DS4Windows, Version=1.4.157.0, Culture=neutral, PublicKeyToken=null + DS4Windows.AdvancedColorDialog, DS4Windows, Version=1.4.2.0, Culture=neutral, PublicKeyToken=null Options diff --git a/DS4Tool/Program.cs b/DS4Tool/Program.cs index 408dece..b7bba9e 100644 --- a/DS4Tool/Program.cs +++ b/DS4Tool/Program.cs @@ -30,6 +30,16 @@ namespace DS4Windows [STAThread] static void Main(string[] args) { + foreach(string s in args) + { + if (s == "driverinstall") + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new WelcomeDialog()); + return; + } + } System.Runtime.GCSettings.LatencyMode = System.Runtime.GCLatencyMode.LowLatency; try { diff --git a/DS4Tool/Properties/AssemblyInfo.cs b/DS4Tool/Properties/AssemblyInfo.cs index 7643050..21149e8 100644 --- a/DS4Tool/Properties/AssemblyInfo.cs +++ b/DS4Tool/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.4.158")] -[assembly: AssemblyFileVersion("1.4.158")] +[assembly: AssemblyVersion("1.4.16")] +[assembly: AssemblyFileVersion("1.4.16")] diff --git a/DS4Tool/Properties/Resources.resx b/DS4Tool/Properties/Resources.resx index 9957b81..87a0954 100644 --- a/DS4Tool/Properties/Resources.resx +++ b/DS4Tool/Properties/Resources.resx @@ -580,4 +580,10 @@ EXPERIMENTAL: Auto-Disable BT when conencting to USB + + Test + + + Cannot move files, to new location, Please close out of any profiles in external programs + \ No newline at end of file diff --git a/DS4Tool/Properties/Resources1.Designer.cs b/DS4Tool/Properties/Resources1.Designer.cs index 9498776..fc3114b 100644 --- a/DS4Tool/Properties/Resources1.Designer.cs +++ b/DS4Tool/Properties/Resources1.Designer.cs @@ -183,6 +183,15 @@ namespace DS4Windows.Properties { } } + /// + /// Looks up a localized string similar to Cannot move files, to new location, Please close out of any profiles in external programs. + /// + internal static string CannotMoveFiles { + get { + return ResourceManager.GetString("CannotMoveFiles", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cannot write at current locataion. Copy Settings to appdata?. /// @@ -1284,6 +1293,15 @@ namespace DS4Windows.Properties { } } + /// + /// Looks up a localized string similar to Test. + /// + internal static string TestText { + get { + return ResourceManager.GetString("TestText", resourceCulture); + } + } + /// /// Looks up a localized string similar to Tilt Down. /// diff --git a/DS4Tool/WelcomeDialog.cs b/DS4Tool/WelcomeDialog.cs index ea3c35f..b454ff2 100644 --- a/DS4Tool/WelcomeDialog.cs +++ b/DS4Tool/WelcomeDialog.cs @@ -38,14 +38,15 @@ namespace DS4Windows } private void bnStep1_Click(object sender, EventArgs e) - { + { + //Application.Run(new DS4Driver(ref bnStep1)); WebClient wb = new WebClient(); if (bnStep1.Text == Properties.Resources.Step1) { - wb.DownloadFileAsync(new Uri("http://ds4windows.com/Files/Virtual Bus Driver.zip"), Global.appdatapath + "\\VBus.zip"); + wb.DownloadFileAsync(new Uri("http://ds4windows.com/Files/Virtual Bus Driver.zip"), exepath + "\\VBus.zip"); wb.DownloadProgressChanged += wb_DownloadProgressChanged; wb.DownloadFileCompleted += wb_DownloadFileCompleted; - } + } } private void wb_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e) @@ -56,9 +57,48 @@ namespace DS4Windows string exepath = Directory.GetParent(Assembly.GetExecutingAssembly().Location).FullName; private void wb_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e) { - if (!Global.AdminNeeded()) + bnStep1.Text = Properties.Resources.OpeningInstaller; + try { - bnStep1.Text = Properties.Resources.OpeningInstaller; + File.Delete(exepath + "\\ScpDriver.exe"); + File.Delete(exepath + "\\ScpDriver.log"); + Directory.Delete(exepath + "\\System", true); + Directory.Delete(exepath + "\\DIFxAPI", true); + } + catch { } + Directory.CreateDirectory(exepath + "\\Virtual Bus Driver"); + try { ZipFile.ExtractToDirectory(exepath + "\\VBus.zip", exepath + "\\Virtual Bus Driver"); } //Saved so the user can uninstall later + catch { } + try { ZipFile.ExtractToDirectory(exepath + "\\VBus.zip", exepath); } + //Made here as starting the scpdriver.exe via process.start, the program looks for file from where it was called, not where the exe is + catch { } + if (File.Exists(exepath + "\\ScpDriver.exe")) + try + { + Process.Start(exepath + "\\ScpDriver.exe", "si"); + bnStep1.Text = Properties.Resources.Installing; + } + catch { Process.Start(exepath + "\\Virtual Bus Driver"); } + + Timer timer = new Timer(); + timer.Start(); + timer.Tick += timer_Tick; + } + + bool running = false; + private void timer_Tick(object sender, EventArgs e) + { + Process[] processes = Process.GetProcessesByName("ScpDriver"); + if (processes.Length < 1) + { + string log = File.ReadAllText(exepath + "\\ScpDriver.log"); + if (log.Contains("Install Succeeded")) + bnStep1.Text = Properties.Resources.InstallComplete; + else + { + bnStep1.Text = Properties.Resources.InstallFailed; + Process.Start(exepath + "\\Virtual Bus Driver"); + } try { File.Delete(exepath + "\\ScpDriver.exe"); @@ -67,76 +107,8 @@ namespace DS4Windows Directory.Delete(exepath + "\\DIFxAPI", true); } catch { } - Directory.CreateDirectory(Global.appdatapath + "\\Virtual Bus Driver"); - try { ZipFile.ExtractToDirectory(Global.appdatapath + "\\VBus.zip", Global.appdatapath + "\\Virtual Bus Driver"); } //Saved so the user can uninstall later - catch { } - try { ZipFile.ExtractToDirectory(Global.appdatapath + "\\VBus.zip", exepath); } - //Made here as starting the scpdriver.exe via process.start, the program looks for file from where it was called, not where the exe is - catch { } - if (File.Exists(exepath + "\\ScpDriver.exe")) - try - { - Process.Start(exepath + "\\ScpDriver.exe", "si"); - bnStep1.Text = Properties.Resources.Installing; - } - catch { Process.Start(Global.appdatapath + "\\Virtual Bus Driver"); } - - Timer timer = new Timer(); - timer.Start(); - timer.Tick += timer_Tick; - } - else - { - bnStep1.Text = Properties.Resources.OpenScpDriver; - Directory.CreateDirectory(Global.appdatapath + "\\Virtual Bus Driver"); - try { ZipFile.ExtractToDirectory(Global.appdatapath + "\\VBus.zip", Global.appdatapath + "\\Virtual Bus Driver"); } - catch { } - Process.Start(Global.appdatapath + "\\Virtual Bus Driver"); - Timer timer = new Timer(); - timer.Start(); - timer.Tick += timer_Tick; - } - } - - bool running = false; - private void timer_Tick(object sender, EventArgs e) - { - Process[] processes = Process.GetProcessesByName("ScpDriver"); - if (!Global.AdminNeeded()) - { - if (processes.Length < 1) - { - string log = File.ReadAllText(exepath + "\\ScpDriver.log"); - if (log.Contains("Install Succeeded")) - bnStep1.Text = Properties.Resources.InstallComplete; - else - { - bnStep1.Text = Properties.Resources.InstallFailed; - Process.Start(Global.appdatapath + "\\Virtual Bus Driver"); - } - try - { - File.Delete(exepath + "\\ScpDriver.exe"); - File.Delete(exepath + "\\ScpDriver.log"); - Directory.Delete(exepath + "\\System", true); - Directory.Delete(exepath + "\\DIFxAPI", true); - } - catch { } - File.Delete(Global.appdatapath + "\\VBus.zip"); - ((Timer)sender).Stop(); - } - } - else - { - if (processes.Length > 0) - running = true; - if (running) - if (processes.Length < 1) - { - bnStep1.Text = Properties.Resources.InstallComplete; - File.Delete(Global.appdatapath + "\\VBus.zip"); - ((Timer)sender).Stop(); - } + File.Delete(exepath + "\\VBus.zip"); + ((Timer)sender).Stop(); } } diff --git a/DS4Tool/WelcomeDialog.resx b/DS4Tool/WelcomeDialog.resx index bc83e04..e31db3a 100644 --- a/DS4Tool/WelcomeDialog.resx +++ b/DS4Tool/WelcomeDialog.resx @@ -119,10 +119,10 @@ - 82, 8 + 29, 8 - 155, 23 + 259, 23 diff --git a/DS4Tool.sln b/DS4Windows.sln similarity index 100% rename from DS4Tool.sln rename to DS4Windows.sln