|
|
@ -102,7 +102,7 @@ void Application::onKeyPressed(ofKeyEventArgs & args){ |
|
|
|
break; |
|
|
|
|
|
|
|
case '/': |
|
|
|
_shiftKeyDown = !_shiftKeyDown; |
|
|
|
toggleShift(); |
|
|
|
break; |
|
|
|
|
|
|
|
case '1': |
|
|
@ -231,6 +231,11 @@ bool Application::isShiftKeyDown(){ |
|
|
|
return _shiftKeyDown; |
|
|
|
} |
|
|
|
|
|
|
|
bool Application::toggleShift(){ |
|
|
|
_shiftKeyDown = !_shiftKeyDown; |
|
|
|
return _shiftKeyDown; |
|
|
|
} |
|
|
|
|
|
|
|
void Application::setPreset(unsigned int i){ |
|
|
|
_cmdManager.exec(new SetPresetCmd(this, i)); |
|
|
|
} |
|
|
|