public LinearizeForm() { InitializeComponent(); this.watch = new System.Diagnostics.Stopwatch(); this.xim = Singleton<XimDyn>.Instance; this.xim.Init(); }
public Form1() { InitializeComponent(); dyn = XimDyn.Instance; dyn.Init(); Thread thread = new Thread(new ThreadStart(myThread.Go)); thread.Start(); myThread.deadzone = short.Parse(txDeadzone.Text); }
public UtilThread() { ximDyn = XimDyn.Instance; }
public MyThreadObj() { xim = XimDyn.Instance; xim.Init(); }
public Ximulator(xEmulateForm form) { this.ximDyn = XimDyn.Instance; m_form = form; m_varManager = VarManager.Instance; m_eventManager = EventManager.Instance; m_textModeManager = TextModeManager.Instance; m_inputManager = InputManager.Instance; m_infoTextManager = InfoTextManager.Instance; m_prevMouseStates = new Queue<Vector2>(); // Init the vars so we dont have to get them again. m_varManager.GetVar("rate", out m_rate); m_varManager.GetVar("textmode", out m_textMode); m_varManager.GetVar("textmoderate", out m_textModeRate); m_varManager.GetVar("autoanalogdisconnect", out m_autoAnalogDisconnect); m_varManager.GetVar("useximapimousemath", out m_useXimApiMouseMath); this.mouseMath = new MouseMath(); this.betaMouseMath = new BetaMouseMath(); m_utilThread = new UtilThread(); }