aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostas Nakos2007-06-08 06:09:09 +0000
committerKostas Nakos2007-06-08 06:09:09 +0000
commit6433964b689bf3955f0fca30dd47cde7d4e9f000 (patch)
tree8768e9970548ef88488300cada5bb03fc9ea4b34
parentc03fe8e8cf1bfa2115c6288598628d26ab86f8bc (diff)
downloadscummvm-rg350-6433964b689bf3955f0fca30dd47cde7d4e9f000.tar.gz
scummvm-rg350-6433964b689bf3955f0fca30dd47cde7d4e9f000.tar.bz2
scummvm-rg350-6433964b689bf3955f0fca30dd47cde7d4e9f000.zip
adding F1 for bargon and KP0 for indy3 functionality to multi function key
svn-id: r27185
-rw-r--r--backends/platform/wince/CEActionsPocket.cpp10
-rw-r--r--backends/platform/wince/CEActionsSmartphone.cpp8
2 files changed, 13 insertions, 5 deletions
diff --git a/backends/platform/wince/CEActionsPocket.cpp b/backends/platform/wince/CEActionsPocket.cpp
index d902fd89fc..cfc029536e 100644
--- a/backends/platform/wince/CEActionsPocket.cpp
+++ b/backends/platform/wince/CEActionsPocket.cpp
@@ -188,12 +188,16 @@ void CEActionsPocket::initInstanceGame() {
_action_enabled[POCKET_ACTION_ZOOM_UP] = true;
_action_enabled[POCKET_ACTION_ZOOM_DOWN] = true;
}
- // FT Cheat
+ // Multi function key
_action_enabled[POCKET_ACTION_MULTI] = true;
if (is_agi)
- _key_action[POCKET_ACTION_MULTI].setAscii(SDLK_PAUSE);
+ _key_action[POCKET_ACTION_MULTI].setAscii(SDLK_PAUSE); // agi: show predictive dialog
+ else if (is_gob)
+ _key_action[POCKET_ACTION_MULTI].setAscii(315); // bargon : F1 to start
+ else if (gameid == "atlantis")
+ _key_action[POCKET_ACTION_MULTI].setAscii(SDLK_KP0); // fate of atlantis : Ins to sucker-punch
else
- _key_action[POCKET_ACTION_MULTI].setAscii(86); // shift-V
+ _key_action[POCKET_ACTION_MULTI].setAscii(86); // FT cheat : shift-V
// Key bind method
_action_enabled[POCKET_ACTION_BINDKEYS] = true;
}
diff --git a/backends/platform/wince/CEActionsSmartphone.cpp b/backends/platform/wince/CEActionsSmartphone.cpp
index 081a2e6713..309aefd95d 100644
--- a/backends/platform/wince/CEActionsSmartphone.cpp
+++ b/backends/platform/wince/CEActionsSmartphone.cpp
@@ -155,9 +155,13 @@ void CEActionsSmartphone::initInstanceGame() {
// Multi function key
_action_enabled[SMARTPHONE_ACTION_MULTI] = true;
if (is_agi)
- _key_action[SMARTPHONE_ACTION_MULTI].setAscii(SDLK_PAUSE);
+ _key_action[SMARTPHONE_ACTION_MULTI].setAscii(SDLK_PAUSE); // agi: show predictive dialog
+ else if (is_gob)
+ _key_action[SMARTPHONE_ACTION_MULTI].setAscii(315); // bargon : F1 to start
+ else if (gameid == "atlantis")
+ _key_action[SMARTPHONE_ACTION_MULTI].setAscii(SDLK_KP0); // fate of atlantis : Ins to sucker-punch
else
- _key_action[SMARTPHONE_ACTION_MULTI].setAscii(86); // shift-V
+ _key_action[SMARTPHONE_ACTION_MULTI].setAscii(86); // FT cheat : shift-V
// Bind keys
_action_enabled[SMARTPHONE_ACTION_BINDKEYS] = true;
}