[Scummvm-cvs-logs] SF.net SVN: scummvm: [25053] scummvm/trunk/engines/scumm/input.cpp
cyx at users.sourceforge.net
cyx at users.sourceforge.net
Mon Jan 8 13:32:27 CET 2007
Revision: 25053
http://scummvm.svn.sourceforge.net/scummvm/?rev=25053&view=rev
Author: cyx
Date: 2007-01-08 04:32:26 -0800 (Mon, 08 Jan 2007)
Log Message:
-----------
added arrow keys mapping to match behavior of original interpreter (dialogue choices can still be selected using the mouse wheel)
Modified Paths:
--------------
scummvm/trunk/engines/scumm/input.cpp
Modified: scummvm/trunk/engines/scumm/input.cpp
===================================================================
--- scummvm/trunk/engines/scumm/input.cpp 2007-01-08 04:45:09 UTC (rev 25052)
+++ scummvm/trunk/engines/scumm/input.cpp 2007-01-08 12:32:26 UTC (rev 25053)
@@ -102,6 +102,12 @@
_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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list