aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2009-07-23 10:31:06 +0000
committerTravis Howell2009-07-23 10:31:06 +0000
commit68a75c21706928ed8bc20ac96b957e388926ee83 (patch)
tree21cb7efbf2addae65abeabd9d73dfe14a9202df7 /engines/scumm
parent870e0341bb0ae1c35f69b02b636ccf6d27f9030d (diff)
downloadscummvm-rg350-68a75c21706928ed8bc20ac96b957e388926ee83.tar.gz
scummvm-rg350-68a75c21706928ed8bc20ac96b957e388926ee83.tar.bz2
scummvm-rg350-68a75c21706928ed8bc20ac96b957e388926ee83.zip
Remove keyboard support for mouse buttons, since it interferes with load/save scripts in HE games and input scripts in others games (COMI, FT). It isn't much use anyway, since we dropped support for cursor movement via keyboard long ago.
svn-id: r42674
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/input.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index db102f5591..ab32992b03 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -302,17 +302,6 @@ void ScummEngine::processInput() {
//
_mouseAndKeyboardStat = 0;
- // Interpret 'return' as left click and 'tab' as right click
- if (lastKeyHit.keycode && _cursor.state > 0) {
- if (lastKeyHit.keycode == Common::KEYCODE_TAB) {
- _mouseAndKeyboardStat = MBS_RIGHT_CLICK;
- lastKeyHit.reset();
- } else if (lastKeyHit.keycode == Common::KEYCODE_RETURN) {
- _mouseAndKeyboardStat = MBS_LEFT_CLICK;
- lastKeyHit.reset();
- }
- }
-
if ((_leftBtnPressed & msClicked) && (_rightBtnPressed & msClicked) && _game.version >= 4) {
// Pressing both mouse buttons is treated as if you pressed
// the cutscene exit key (ESC) in V4+ games. That mimicks