aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-11-22 18:39:06 +0000
committerFilippos Karapetis2010-11-22 18:39:06 +0000
commitfe17f26af8559a74e8091f0f0fc7c628c54ea0c6 (patch)
tree199f75dfaacd5b530085b2a0bfcd1d2238576968 /engines
parent26bf0e8176f9082228021ba1a5b28c39dd3b6768 (diff)
downloadscummvm-rg350-fe17f26af8559a74e8091f0f0fc7c628c54ea0c6.tar.gz
scummvm-rg350-fe17f26af8559a74e8091f0f0fc7c628c54ea0c6.tar.bz2
scummvm-rg350-fe17f26af8559a74e8091f0f0fc7c628c54ea0c6.zip
SCI: Added support for the keypad +/- keys
svn-id: r54420
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/event.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index 97c33d5e56..7e0de85e60 100644
--- a/engines/sci/event.cpp
+++ b/engines/sci/event.cpp
@@ -303,6 +303,12 @@ SciEvent EventManager::getScummVMEvent() {
if (!(_modifierStates & SCI_KEYMOD_NUMLOCK))
input.data = SCI_KEY_PGDOWN;
break;
+ case Common::KEYCODE_KP_PLUS: // +
+ input.data = '+';
+ break;
+ case Common::KEYCODE_KP_MINUS: // -
+ input.data = '-';
+ break;
default:
input.type = SCI_EVENT_NONE;
break;