protected override void InitializeInput() { base.InitializeInput(); int windowHandle; mRenderWindow.GetCustomAttribute("WINDOW", out windowHandle); mInputMgr = MOIS.InputManager.CreateInputSystem((uint)windowHandle); mEnvKeyboard = (MOIS.Keyboard)mInputMgr.CreateInputObject(MOIS.Type.OISKeyboard, true); mEnvKeyboard.KeyPressed += new KeyListener.KeyPressedHandler(OnEnvKeyBuffPressed); }
protected AbstractChangerHelper(Keyboard keyboard, MenuScreen parent) { this.parent = parent; this.callback = new Callback(this); this.keyboard = keyboard; }