From 8863ad6279686af60765b6cef904344384258a29 Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Mon, 8 Jan 2007 12:32:26 +0000 Subject: added arrow keys mapping to match behavior of original interpreter (dialogue choices can still be selected using the mouse wheel) svn-id: r25053 --- engines/scumm/input.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp index ae7b5682df..807d1767c0 100644 --- a/engines/scumm/input.cpp +++ b/engines/scumm/input.cpp @@ -102,6 +102,12 @@ void ScummEngine::parseEvents() { _keyPressed = event.kbd.ascii; // Normal key press, pass on to the game. } + if (_game.id == GID_MONKEY && _game.platform == Common::kPlatformSegaCD) { + if (event.kbd.ascii >= 273 && event.kbd.ascii <= 276) { + _keyPressed = event.kbd.ascii - 273 + 54; + } + } + if (_game.heversion >= 80) { // Keyboard is controlled via variable int _keyState = 0; -- cgit v1.2.3