[Scummvm-cvs-logs] CVS: scummvm/wince gapi_keys.cpp,1.1,1.2
Nicolas Bacca
arisme at users.sourceforge.net
Sun Apr 21 14:55:02 CEST 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm gapi_keys.h,1.1,1.2 gui.cpp,1.36,1.37 gui.h,1.18,1.19
- Next message: [Scummvm-cvs-logs] CVS: scummvm/wince findgame.cpp,1.3,1.4 pocketpc.cpp,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/wince
In directory usw-pr-cvs1:/tmp/cvs-serv4071/wince
Modified Files:
gapi_keys.cpp
Log Message:
New key page in GUI
Index: gapi_keys.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/wince/gapi_keys.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** gapi_keys.cpp 14 Mar 2002 14:09:14 -0000 1.1
--- gapi_keys.cpp 21 Apr 2002 21:54:08 -0000 1.2
***************
*** 19,22 ****
--- 19,23 ----
const char* ActionsText[] = {
+ "None",
"Pause",
"Save",
***************
*** 26,30 ****
"Keyboard",
"Sound",
! "Right click"
};
--- 27,32 ----
"Keyboard",
"Sound",
! "Right click",
! "Cursor on/off"
};
***************
*** 41,45 ****
const char* getActionName(int action) {
! return ActionsText[action - 1];
}
--- 43,47 ----
const char* getActionName(int action) {
! return ActionsText[action];
}
***************
*** 85,88 ****
--- 87,102 ----
return GAPI_KEY_VKSTART;
+ if (key == _keys.vkUp)
+ return GAPI_KEY_VKUP;
+
+ if (key == _keys.vkDown)
+ return GAPI_KEY_VKDOWN;
+
+ if (key == _keys.vkLeft)
+ return GAPI_KEY_VKLEFT;
+
+ if (key == _keys.vkRight)
+ return GAPI_KEY_VKRIGHT;
+
switch (key) {
// then the "unsupported" keys
***************
*** 118,121 ****
--- 132,143 ----
case GAPI_KEY_ITASK:
return "Button ITask";
+ case GAPI_KEY_VKUP:
+ return "Pad Up";
+ case GAPI_KEY_VKDOWN:
+ return "Pad Down";
+ case GAPI_KEY_VKLEFT:
+ return "Pad Left";
+ case GAPI_KEY_VKRIGHT:
+ return "Pad Right";
default:
return "Not mapped";
- Previous message: [Scummvm-cvs-logs] CVS: scummvm gapi_keys.h,1.1,1.2 gui.cpp,1.36,1.37 gui.h,1.18,1.19
- Next message: [Scummvm-cvs-logs] CVS: scummvm/wince findgame.cpp,1.3,1.4 pocketpc.cpp,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list