diff options
author | Travis Howell | 2007-07-01 23:45:15 +0000 |
---|---|---|
committer | Travis Howell | 2007-07-01 23:45:15 +0000 |
commit | 3f82a451efa0d1e4ee409de4b074cbf9e4662aa4 (patch) | |
tree | 2fb985f206335df12dcbaeb79557368477aa8278 /engines/agos | |
parent | 7e83dfd275599b1f12de2140e5ff16253a6b7026 (diff) | |
download | scummvm-rg350-3f82a451efa0d1e4ee409de4b074cbf9e4662aa4.tar.gz scummvm-rg350-3f82a451efa0d1e4ee409de4b074cbf9e4662aa4.tar.bz2 scummvm-rg350-3f82a451efa0d1e4ee409de4b074cbf9e4662aa4.zip |
Add cases for using '-' and '+' keys on the keypad too.
svn-id: r27841
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/input.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agos/input.cpp b/engines/agos/input.cpp index 07b39c0ffe..0f1c234b79 100644 --- a/engines/agos/input.cpp +++ b/engines/agos/input.cpp @@ -567,12 +567,14 @@ bool AGOSEngine::processSpecialKeys() { _speech ^= 1; } case Common::KEYCODE_PLUS: + case Common::KEYCODE_KP_PLUS: if (_midiEnabled) { _midi.setVolume(_midi.getVolume() + 16); } _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, _mixer->getVolumeForSoundType(Audio::Mixer::kMusicSoundType) + 16); break; case Common::KEYCODE_MINUS: + case Common::KEYCODE_KP_MINUS: if (_midiEnabled) { _midi.setVolume(_midi.getVolume() - 16); } |