Ejemplo n.º 1
0
 public static void UpdateControls()
 {
     RecoilHandler.triggerKey  = MainApp.KeyToHex(MainApp.SearchControls(0, "\\res\\Profile Settings\\Settings.txt"));
     RecoilHandler.sensitivity = Double.Parse(File.ReadAllLines(Application.StartupPath + "\\res\\Profile Settings\\Settings.txt").Skip(1).First());
     keys         = new Keys[] { SearchControls(0, "\\res\\Profile Settings\\Keys.txt"), SearchControls(1, "\\res\\Profile Settings\\Keys.txt"), SearchControls(2, "\\res\\Profile Settings\\Keys.txt"), SearchControls(3, "\\res\\Profile Settings\\Keys.txt"), SearchControls(4, "\\res\\Profile Settings\\Keys.txt"), SearchControls(5, "\\res\\Profile Settings\\Keys.txt"), SearchControls(6, "\\res\\Profile Settings\\Keys.txt"), SearchControls(7, "\\res\\Profile Settings\\Keys.txt"), SearchControls(8, "\\res\\Profile Settings\\Keys.txt"), SearchControls(9, "\\res\\Profile Settings\\Keys.txt"), SearchControls(10, "\\res\\Profile Settings\\Keys.txt"), SearchControls(11, "\\res\\Profile Settings\\Keys.txt"), SearchControls(12, "\\res\\Profile Settings\\Keys.txt") };
     settingsKeys = new Keys[] { SearchControls(0, "\\res\\Profile Settings\\Settings.txt"), Keys.None };
 }
Ejemplo n.º 2
0
 public void UpdateTriggerBind()
 {
     TriggerBind.Text         = newBindText;
     RecoilHandler.triggerKey = MainApp.KeyToHex(MainApp.SearchControls(0, "\\res\\Profile Settings\\Settings.txt"));
 }