diff --git a/src/common/PJoystickHandler.cxx b/src/common/PJoystickHandler.cxx index f6536ff37..2c8e196a2 100644 --- a/src/common/PJoystickHandler.cxx +++ b/src/common/PJoystickHandler.cxx @@ -289,10 +289,7 @@ void PhysicalJoystickHandler::setStickDefaultMapping(int stick, // Left joystick up/down directions (assume joystick zero or two and hat 0) setDefaultHat(stick, 0, JoyHat::UP, Event::JoystickZeroUp); setDefaultHat(stick, 0, JoyHat::DOWN, Event::JoystickZeroDown); - // FIXME - use the R77 define in the final release - // use the '1' define for testing #if defined(RETRON77) - // #if 1 // Left joystick (assume joystick zero or two, buttons two..four) setDefaultBtn(stick, 2, Event::CmdMenuMode); setDefaultBtn(stick, 3, Event::OptionsMenuMode); @@ -317,10 +314,7 @@ void PhysicalJoystickHandler::setStickDefaultMapping(int stick, // Right joystick up/down directions (assume joystick one or three and hat 0) setDefaultHat(stick, 0, JoyHat::UP, Event::JoystickOneUp); setDefaultHat(stick, 0, JoyHat::DOWN, Event::JoystickOneDown); - // FIXME - use the R77 define in the final release - // use the '1' define for testing #if defined(RETRON77) - // #if 1 // Right joystick (assume joystick one or three, buttons two..four) setDefaultBtn(stick, 2, Event::CmdMenuMode); setDefaultBtn(stick, 3, Event::OptionsMenuMode); diff --git a/src/common/PKeyboardHandler.cxx b/src/common/PKeyboardHandler.cxx index 0231545c2..385378c17 100644 --- a/src/common/PKeyboardHandler.cxx +++ b/src/common/PKeyboardHandler.cxx @@ -147,7 +147,7 @@ void PhysicalKeyboardHandler::setDefaultMapping(Event::Type event, EventMode mod setDefaultKey(Event::CmdMenuMode , KBDK_BACKSLASH); setDefaultKey(Event::TimeMachineMode , KBDK_T); setDefaultKey(Event::DebuggerMode , KBDK_GRAVE); - setDefaultKey(Event::ExitMode , KBDK_ESCAPE); + setDefaultKey(Event::ExitMode , KBDK_ESCAPE); #ifdef BSPF_MACOS setDefaultKey(Event::Quit , KBDK_Q, KBDM_ALT); #else @@ -208,10 +208,7 @@ void PhysicalKeyboardHandler::setDefaultMapping(Event::Type event, EventMode mod setDefaultKey(Event::ToggleCollisions , KBDK_PERIOD, KBDM_SHIFT | KBDM_ALT); setDefaultKey(Event::ToggleBits , KBDK_PERIOD, KBDM_ALT); - // FIXME - use the R77 define in the final release - // use the '1' define for testing #if defined(RETRON77) -// #if 1 setDefaultKey(Event::ConsoleColorToggle , KBDK_F4); // back ("COLOR","B/W") setDefaultKey(Event::ConsoleLeftDiffToggle , KBDK_F6); // front ("SKILL P1") setDefaultKey(Event::ConsoleRightDiffToggle , KBDK_F8); // front ("SKILL P2") @@ -247,10 +244,7 @@ void PhysicalKeyboardHandler::setDefaultMapping(Event::Type event, EventMode mod setDefaultKey(Event::Quit , KBDK_Q, KBDM_CTRL); #endif - // FIXME - use the R77 define in the final release - // use the '1' define for testing #if defined(RETRON77) -// #if 1 setDefaultKey(Event::UIUp , KBDK_F9); // front ("SAVE") setDefaultKey(Event::UIDown , KBDK_F2); // front ("RESET") setDefaultKey(Event::UINavPrev , KBDK_F11); // front ("LOAD") diff --git a/src/gui/Dialog.cxx b/src/gui/Dialog.cxx index d3e6ed56c..890cd8e44 100644 --- a/src/gui/Dialog.cxx +++ b/src/gui/Dialog.cxx @@ -449,16 +449,14 @@ void Dialog::handleKeyDown(StellaKey key, StellaMod mod) // Shift-Tab sets previous widget in current tab Event::Type e = Event::NoType; - // FIXME - use the R77 define in the final release - // use the '1' define for testing - #if defined(RETRON77) - // #if 1 +// FIXME - I don't think this will compile! +#if defined(RETRON77) // special keys used for R77 else if (key == KBDK_F13) e = Event::UITabPrev; else if (key == KBDK_BACKSPACE) e = Event::UITabNext; - #endif +#endif // Check the keytable now, since we might get one of the above events, // which must always be processed before any widget sees it. diff --git a/src/gui/InputDialog.cxx b/src/gui/InputDialog.cxx index 1a107a939..cbde6f1b3 100644 --- a/src/gui/InputDialog.cxx +++ b/src/gui/InputDialog.cxx @@ -413,10 +413,7 @@ void InputDialog::setDefaults() myDPaddleLabel->setLabel("10"); myMPaddleSpeed->setValue(10); myMPaddleLabel->setLabel("10"); - // FIXME - use the R77 define in the final release - // use the '1' define for testing #if defined(RETRON77) -// #if 1 myDejitterBase->setValue(2); myDejitterDiff->setValue(6); #else diff --git a/src/gui/StellaSettingsDialog.cxx b/src/gui/StellaSettingsDialog.cxx index e768fcc33..e1ac964a1 100644 --- a/src/gui/StellaSettingsDialog.cxx +++ b/src/gui/StellaSettingsDialog.cxx @@ -523,11 +523,8 @@ int StellaSettingsDialog::valueToLevel(int value) void StellaSettingsDialog::openHelp() { // Create an help dialog, similar to the in-game one - // FIXME - use the R77 define in the final release - // use the '1' define for testing if (myHelpDialog == nullptr) #if defined(RETRON77) - // #if 1 myHelpDialog = make_unique(instance(), parent(), _font); #else myHelpDialog = make_unique(instance(), parent(), _font); diff --git a/src/gui/StellaSettingsDialog.hxx b/src/gui/StellaSettingsDialog.hxx index 12cc19234..1c93b3170 100644 --- a/src/gui/StellaSettingsDialog.hxx +++ b/src/gui/StellaSettingsDialog.hxx @@ -94,10 +94,7 @@ class StellaSettingsDialog : public Dialog StaticTextWidget* myRightPortDetected; unique_ptr myConfirmMsg; - // FIXME - use the R77 define in the final release - // use the '1' define for testing #if defined(RETRON77) - // #if 1 unique_ptr myHelpDialog; #else unique_ptr myHelpDialog;