diff options
author | Oliver Kiehl | 2002-11-18 10:20:56 +0000 |
---|---|---|
committer | Oliver Kiehl | 2002-11-18 10:20:56 +0000 |
commit | 4fefb1a67954a833d4fb79aca9a72da3914fd763 (patch) | |
tree | 2cd7ec5ce01107215738f311b2e08621392d1746 | |
parent | 5214cb3463804bda39b10d52e4a7f6ccd943780d (diff) | |
download | scummvm-rg350-4fefb1a67954a833d4fb79aca9a72da3914fd763.tar.gz scummvm-rg350-4fefb1a67954a833d4fb79aca9a72da3914fd763.tar.bz2 scummvm-rg350-4fefb1a67954a833d4fb79aca9a72da3914fd763.zip |
added [ and ] for volume control on US keyboards and changed volume change to 16
svn-id: r5597
-rw-r--r-- | simon/simon.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 03dd39a826..5fe3a375e5 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -4612,10 +4612,10 @@ void SimonState::delay(uint amount) case OSystem::EVENT_KEYDOWN: if (event.kbd.keycode == 't') { _vk_t_toggle ^= 1; - } else if (event.kbd.keycode == '+') { - midi.set_volume(midi.get_volume() + 10); - } else if (event.kbd.keycode == '-') { - midi.set_volume(midi.get_volume() - 10); + } else if (event.kbd.keycode == ']' || event.kbd.keycode == '+') { + midi.set_volume(midi.get_volume() + 16); + } else if (event.kbd.keycode == '[' || event.kbd.keycode == '-') { + midi.set_volume(midi.get_volume() - 16); } else if (event.kbd.keycode == 'm') { midi.pause(_music_paused ^= 1); } else if (event.kbd.keycode == 's') { |