diff --git a/src/common/StellaKeys.hxx b/src/common/StellaKeys.hxx index 0b0bb79e5..72a95ab96 100644 --- a/src/common/StellaKeys.hxx +++ b/src/common/StellaKeys.hxx @@ -330,10 +330,10 @@ enum StellaKey KBDK_RALT = 230, /**< alt gr, option */ KBDK_RGUI = 231, /**< windows, command (apple), meta */ - KBDK_MODE = 257, /**< I'm not sure if this is really not covered - * by any of the above, but since there's a - * special KMOD_MODE for it I'm adding it here - */ + KBDK_MODE = 257, /**< ALT-GR(aph) key on non-American keyboards + * This is like pressing KBDK_RALT + KBDK_RCTRL + * on some keyboards + */ /* @} *//* Usage page 0x07 */ diff --git a/src/gui/HelpDialog.cxx b/src/gui/HelpDialog.cxx index b5f8970c8..a18e663c6 100644 --- a/src/gui/HelpDialog.cxx +++ b/src/gui/HelpDialog.cxx @@ -93,7 +93,8 @@ void HelpDialog::updateStrings(uInt8 page, uInt8 lines, string& title) }; auto ADD_EVENT = [&](const Event::Type e, const string & d) { - ADD_BIND(instance().eventHandler().getMappingDesc(e, kEmulationMode), d); + string desc = instance().eventHandler().getMappingDesc(e, kEmulationMode); + ADD_BIND(desc.length() ? desc : "None", d); }; auto ADD_TEXT = [&](const string& d) { ADD_BIND("", d); }; auto ADD_LINE = [&]() { ADD_BIND("", ""); };