[Scummvm-cvs-logs] CVS: scummvm/wince gapi_keys.cpp,1.2,1.3

Nicolas Bacca arisme at users.sourceforge.net
Mon May 13 23:48:02 CEST 2002


Update of /cvsroot/scummvm/scummvm/wince
In directory usw-pr-cvs1:/tmp/cvs-serv1772/wince

Modified Files:
	gapi_keys.cpp 
Log Message:
Mapped new action to remove subtitles on WinCE

Index: gapi_keys.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/wince/gapi_keys.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gapi_keys.cpp	21 Apr 2002 21:54:08 -0000	1.2
+++ gapi_keys.cpp	14 May 2002 06:47:06 -0000	1.3
@@ -27,7 +27,8 @@
 	"Keyboard",
 	"Sound",
 	"Right click",
-	"Cursor on/off"
+	"Cursor on/off",
+	"Subtitles on/off"
 };
 
 bool _typeExists(int x) {
@@ -65,11 +66,15 @@
 }
 
 void GAPIKeysGetReference() {
+	/*
 	if(GetScreenMode()) {
 		_keys = GXGetDefaultKeys(GX_LANDSCAPEKEYS);
 	} else {
 		_keys = GXGetDefaultKeys(GX_NORMALKEYS);
 	}
+	*/
+
+	_keys = GXGetDefaultKeys(GX_LANDSCAPEKEYS);
 }
 
 const unsigned char getGAPIKeyMapping(short key) {
@@ -86,7 +91,7 @@
 	if (key == _keys.vkStart)
 			return GAPI_KEY_VKSTART;
 
-	if (key == _keys.vkUp)
+	if (key == _keys.vkUp) 
 			return GAPI_KEY_VKUP;
 
 	if (key == _keys.vkDown)





More information about the Scummvm-git-logs mailing list