From 91615eb940b766135d15f4d56519de35b5c3ce88 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 2 Aug 2017 22:40:18 +0200 Subject: WAGE: Remove now redundant input processing --- engines/wage/wage.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'engines/wage') diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index e8723d153e..6d153a35f0 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -169,13 +169,6 @@ void WageEngine::processEvents() { break; case Common::EVENT_KEYDOWN: switch (event.kbd.keycode) { - case Common::KEYCODE_BACKSPACE: - if (!_inputText.empty()) { - _inputText.deleteLastChar(); - _gui->drawInput(); - } - break; - case Common::KEYCODE_RETURN: _inputText = _gui->_consoleWindow->getInput(); _inputText += '\n'; @@ -197,11 +190,6 @@ void WageEngine::processEvents() { break; } - if (event.kbd.ascii >= 0x20 && event.kbd.ascii <= 0x7f) { - _inputText += (char)event.kbd.ascii; - _gui->drawInput(); - } - break; } break; -- cgit v1.2.3