From ce30a513acdaab2ca5eacd136cc80ade1beabb3a Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sun, 16 Aug 2009 14:04:54 +0000 Subject: Introduce a better fix for the Mac OS X backspace problem by adding the workaround to default-events.cpp. svn-id: r43441 --- engines/scumm/input.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'engines/scumm') diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp index 6523635643..ab32992b03 100644 --- a/engines/scumm/input.cpp +++ b/engines/scumm/input.cpp @@ -135,13 +135,6 @@ void ScummEngine::parseEvent(Common::Event event) { // Normal key press, pass on to the game. _keyPressed = event.kbd; } - - // WORKAROUND: On Mac OS X, the ascii value has to be set to the - // backspace keycode in order for the backspace to work in HE games. - // This includes using the backspace when entering coach names - // in the backyard games. - if (_keyPressed.keycode == Common::KEYCODE_BACKSPACE) - _keyPressed.ascii = Common::KEYCODE_BACKSPACE; // FIXME: We are using ASCII values to index the _keyDownMap here, // yet later one code which checks _keyDownMap will use KEYCODEs -- cgit v1.2.3