diff options
author | CeRiAl | 2011-06-27 02:00:33 +0200 |
---|---|---|
committer | CeRiAl | 2011-06-27 02:22:24 +0200 |
commit | 0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9 (patch) | |
tree | 2af39db9644fa802f700fb0eca5f52d5e96ed16b /backends/platform | |
parent | 7983b1cce3fb5831f7437ea689b951ac7cd9c5a3 (diff) | |
download | scummvm-rg350-0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9.tar.gz scummvm-rg350-0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9.tar.bz2 scummvm-rg350-0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9.zip |
WINCE: Added option to disable panel toggling with double tap on top of screen
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/wince/CEActionsPocket.cpp | 3 | ||||
-rw-r--r-- | backends/platform/wince/CEActionsSmartphone.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/backends/platform/wince/CEActionsPocket.cpp b/backends/platform/wince/CEActionsPocket.cpp index a4786d330d..194f855e98 100644 --- a/backends/platform/wince/CEActionsPocket.cpp +++ b/backends/platform/wince/CEActionsPocket.cpp @@ -137,6 +137,7 @@ void CEActionsPocket::initInstanceGame() { bool is_tinsel = (gameid == "tinsel"); bool is_cruise = (gameid == "cruise"); bool is_made = (gameid == "made"); + bool is_sci = (gameid == "sci"); GUI_Actions::initInstanceGame(); @@ -219,7 +220,7 @@ void CEActionsPocket::initInstanceGame() { // Key bind method _action_enabled[POCKET_ACTION_BINDKEYS] = true; // Disable double-tap right-click for convenience - if (is_tinsel || is_cruise) + if (is_tinsel || is_cruise || is_sci) if (!ConfMan.hasKey("no_doubletap_rightclick")) { ConfMan.setBool("no_doubletap_rightclick", true); ConfMan.flushToDisk(); diff --git a/backends/platform/wince/CEActionsSmartphone.cpp b/backends/platform/wince/CEActionsSmartphone.cpp index b12dadabb6..c6456d3eb5 100644 --- a/backends/platform/wince/CEActionsSmartphone.cpp +++ b/backends/platform/wince/CEActionsSmartphone.cpp @@ -128,6 +128,7 @@ void CEActionsSmartphone::initInstanceGame() { bool is_tinsel = (gameid == "tinsel"); bool is_cruise = (gameid == "cruise"); bool is_made = (gameid == "made"); + bool is_sci = (gameid == "sci"); GUI_Actions::initInstanceGame(); @@ -185,7 +186,7 @@ void CEActionsSmartphone::initInstanceGame() { // Bind keys _action_enabled[SMARTPHONE_ACTION_BINDKEYS] = true; // Disable double-tap right-click for convenience - if (is_tinsel || is_cruise) + if (is_tinsel || is_cruise || is_sci) if (!ConfMan.hasKey("no_doubletap_rightclick")) { ConfMan.setBool("no_doubletap_rightclick", true); ConfMan.flushToDisk(); |