src/Screens/SimulatorScreen.cpp
// action to take when user presses a key
action to take when user presses a key
action to take when user presses a key
bool simscreenOnKeydown(osc::SimulatorScreen::Impl& impl, SDL_KeyboardEvent const& e) {
        if (e.keysym.mod & KMOD_CTRL) {
            switch (e.keysym.sym) {
            case SDLK_e:
                 + e
                App::cur().requestTransition<ModelEditorScreen>(std::move(impl.mes));
                return true;
            }
        }
        return false;
    }
bool simscreenOnKeydown ( osc :: SimulatorScreen :: Impl & impl , SDL_KeyboardEvent const & e ) { if ( e . keysym . mod & KMOD_CTRL ) { switch ( e . keysym . sym ) { case SDLK_e : App :: cur ( ) . requestTransition < ModelEditorScreen > ( std :: move ( impl . mes ) ) ; return true ; } } return false ; }
action to take when user presses a key
action to take when user presses a key
// Ctrl // Ctrl + e