[Scummvm-cvs-logs] SF.net SVN: scummvm:[54420] scummvm/trunk/engines/sci/event.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Nov 22 19:39:06 CET 2010


Revision: 54420
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54420&view=rev
Author:   thebluegr
Date:     2010-11-22 18:39:06 +0000 (Mon, 22 Nov 2010)

Log Message:
-----------
SCI: Added support for the keypad +/- keys

Modified Paths:
--------------
    scummvm/trunk/engines/sci/event.cpp

Modified: scummvm/trunk/engines/sci/event.cpp
===================================================================
--- scummvm/trunk/engines/sci/event.cpp	2010-11-22 18:09:31 UTC (rev 54419)
+++ scummvm/trunk/engines/sci/event.cpp	2010-11-22 18:39:06 UTC (rev 54420)
@@ -303,6 +303,12 @@
 					if (!(_modifierStates & SCI_KEYMOD_NUMLOCK))
 						input.data = SCI_KEY_PGDOWN;
 					break;
+				case Common::KEYCODE_KP_PLUS:	// +
+					input.data = '+';
+					break;
+				case Common::KEYCODE_KP_MINUS:	// -
+					input.data = '-';
+					break;
 				default:
 					input.type = SCI_EVENT_NONE;
 					break;


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