X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fmainwin.cpp;h=042e607d099025aa42529b9abf486950ee2b7095;hb=589081c92356312de02a98292b433bce2547901d;hp=3c93d03a8a62ce02a06b87e12372d8f0520c2639;hpb=d1e404e2f488610a99f844783dca15a7525c3813;p=virtualjaguar diff --git a/src/gui/mainwin.cpp b/src/gui/mainwin.cpp index 3c93d03..042e607 100644 --- a/src/gui/mainwin.cpp +++ b/src/gui/mainwin.cpp @@ -439,6 +439,11 @@ void MainWin::keyPressEvent(QKeyEvent * e) { // From jaguar.cpp extern bool startM68KTracing; + // From joystick.cpp + extern int blit_start_log; + // From blitter.cpp + extern bool startConciseBlitLogging; + // We ignore the Alt key for now, since it causes problems with the GUI if (e->key() == Qt::Key_Alt) @@ -452,8 +457,21 @@ void MainWin::keyPressEvent(QKeyEvent * e) e->accept(); return; } + else if (e->key() == Qt::Key_F12) + { + blit_start_log = true; + e->accept(); + return; + } + else if (e->key() == Qt::Key_F10) + { + startConciseBlitLogging = true; + e->accept(); + return; + } /* +This is done now by a QAction... if (e->key() == Qt::Key_F9) { ToggleFullScreen();