From 4fefb1a67954a833d4fb79aca9a72da3914fd763 Mon Sep 17 00:00:00 2001 From: Oliver Kiehl Date: Mon, 18 Nov 2002 10:20:56 +0000 Subject: added [ and ] for volume control on US keyboards and changed volume change to 16 svn-id: r5597 --- simon/simon.cpp | 8 ++++---- 1 file 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') { -- cgit v1.2.3