Beispiel #1
0
        private static void Init()
        {
            simPad = SimGamePad.Instance;
            try
            {
                simPad.Initialize();
                simPad.PlugIn();
                state = simPad.State[0];
            }
            catch
            {
                ShutDown();
                MessageBox.Show("Could not initialize SimGamePad / ScpBus. Shutting down.");
                Application.Exit();
            }

            TranslateMouse.InitMouse();
        }
        private static void Init()
        {
            Controller = CreateController();

            TranslateMouse.InitMouse();
        }