public NewControllerConfigWindow()
        {
            InitializeComponent();

            mJoystickComponent = JoystickComponent.Instance;
            mJoystickComponent.OnJoystickInput += OnJoystickInput;
        }
Exemplo n.º 2
0
        public MainWindow()
        {
            mLogger = LogManager.GetLogger(GetType().Name);
            InitializeComponent();

            mConfigurationComponent = ConfigComponent.Instance;
            mRomDataComponent = RomDataComponent.Instance;
            mJoystickComponent = JoystickComponent.Instance;
            mConfigurationComponent.GetCurrentConfig(out mConfigFileName, out mConfigFilePath, out mLoadedEmulators, out mLoadedPaths);
            mExecutionComponent = new EmulatorExecutionComponent();
            mPathResolver = new PathResolverComponent();
            CurrentCommand = new Command();
        }