add ability to switch octaves using numpad / and *

This commit is contained in:
tildearrow 2022-01-25 00:08:46 -05:00
parent 511b6ba0be
commit 2dac7f3b87
1 changed files with 6 additions and 0 deletions

View File

@ -3314,6 +3314,12 @@ void FurnaceGUI::keyDown(SDL_Event& ev) {
case SDLK_F8:
stop();
break;
case SDLK_KP_DIVIDE:
if (--curOctave<-5) curOctave=-5;
break;
case SDLK_KP_MULTIPLY:
if (++curOctave>6) curOctave=6;
break;
case SDLK_RETURN:
if (e->isPlaying()) {
stop();