[Scummvm-cvs-logs] SF.net SVN: scummvm: [24746] scummvm/trunk/engines/cine/main_loop.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sun Nov 19 19:32:01 CET 2006
Revision: 24746
http://svn.sourceforge.net/scummvm/?rev=24746&view=rev
Author: eriktorbjorn
Date: 2006-11-19 10:32:00 -0800 (Sun, 19 Nov 2006)
Log Message:
-----------
Added keyboard shortcuts for left and right mouse button.
Modified Paths:
--------------
scummvm/trunk/engines/cine/main_loop.cpp
Modified: scummvm/trunk/engines/cine/main_loop.cpp
===================================================================
--- scummvm/trunk/engines/cine/main_loop.cpp 2006-11-19 17:52:52 UTC (rev 24745)
+++ scummvm/trunk/engines/cine/main_loop.cpp 2006-11-19 18:32:00 UTC (rev 24746)
@@ -64,6 +64,18 @@
break;
case OSystem::EVENT_KEYDOWN:
switch (event.kbd.keycode) {
+ case '\n':
+ case '\r':
+ case 261: // Keypad 5
+ if (allowPlayerInput) {
+ mouseLeft = 1;
+ }
+ break;
+ case 27: // ESC
+ if (allowPlayerInput) {
+ mouseRight = 1;
+ }
+ break;
case 282: // F1
if (allowPlayerInput) {
playerCommand = 0; // EXAMINE
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