public NewControllerConfigWindow() { InitializeComponent(); mJoystickComponent = JoystickComponent.Instance; mJoystickComponent.OnJoystickInput += OnJoystickInput; }
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(); }