From 9a377a7849f9be056265c7bd1aa8f08588060e61 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Thu, 5 Nov 2020 12:50:56 +0100 Subject: [PATCH] updated HelpDialog added 'Space' for selecting UI elements --- src/common/PKeyboardHandler.cxx | 1 + src/gui/HelpDialog.cxx | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/common/PKeyboardHandler.cxx b/src/common/PKeyboardHandler.cxx index a1ee45b0e..5151fe191 100644 --- a/src/common/PKeyboardHandler.cxx +++ b/src/common/PKeyboardHandler.cxx @@ -593,6 +593,7 @@ PhysicalKeyboardHandler::EventMappingArray PhysicalKeyboardHandler::DefaultMenuM {Event::UILeft, KBDK_LEFT}, {Event::UIRight, KBDK_RIGHT}, {Event::UISelect, KBDK_RETURN}, + {Event::UISelect, KBDK_SPACE}, {Event::UIHome, KBDK_HOME}, {Event::UIEnd, KBDK_END}, diff --git a/src/gui/HelpDialog.cxx b/src/gui/HelpDialog.cxx index 77c01f174..0b08ca0cc 100644 --- a/src/gui/HelpDialog.cxx +++ b/src/gui/HelpDialog.cxx @@ -134,16 +134,16 @@ void HelpDialog::updateStrings(uInt8 page, uInt8 lines, string& title) case 3: title = "TV effects"; - ADD_EVENT(Event::VidmodeStd, "Disable TV effects"); - ADD_EVENT(Event::VidmodeRGB, "Enable 'RGB' mode"); - ADD_EVENT(Event::VidmodeSVideo, "Enable 'S-Video' mode"); - ADD_EVENT(Event::VidModeComposite, "Enable 'Composite' mode"); - ADD_EVENT(Event::VidModeBad, "Enable 'Badly adjusted' mode"); - ADD_EVENT(Event::VidModeCustom, "Enable 'Custom' mode"); - ADD_EVENT(Event::NextAttribute, "Select 'Custom' attribute"); - ADD_EVENT(Event::IncreaseAttribute, "Modify 'Custom' attribute"); - ADD_EVENT(Event::PhosphorIncrease, "Adjust phosphor blend"); - ADD_EVENT(Event::ScanlinesIncrease, "Adjust scanline intensity"); + ADD_EVENT(Event::NextVideoMode, "Select next TV effect mode"); + ADD_EVENT(Event::PreviousVideoMode, "Select previous TV effect mode"); + ADD_EVENT(Event::NextAttribute, "Select next 'Custom' attribute"); + ADD_EVENT(Event::PreviousAttribute, "Select previous 'Custom' attr."); + ADD_EVENT(Event::IncreaseAttribute, "Increase 'Custom' attribute"); + ADD_EVENT(Event::DecreaseAttribute, "Decrease 'Custom' attribute"); + ADD_EVENT(Event::PhosphorIncrease, "Increase phosphor blend"); + ADD_EVENT(Event::PhosphorDecrease, "Decrease phosphor blend"); + ADD_EVENT(Event::ScanlinesIncrease, "Increase scanline intensity"); + ADD_EVENT(Event::ScanlinesDecrease, "Decrease scanline intensity"); break; case 4: