Make RmlUi F1, ImGui Shift+F1

This commit is contained in:
Luke Street
2026-05-01 21:53:48 -06:00
parent ca783b8424
commit 04274b1884
6 changed files with 14 additions and 11 deletions
+2 -2
View File
@@ -167,8 +167,8 @@ NavCommand map_nav_event(const Rml::Event& event) noexcept {
return NavCommand::Cancel;
case Rml::Input::KeyIdentifier::KI_RETURN:
return NavCommand::Confirm;
case Rml::Input::KeyIdentifier::KI_PAUSE:
return NavCommand::Menu;
case Rml::Input::KeyIdentifier::KI_F1:
return event.GetParameter<int>("shift_key", 0) ? NavCommand::None : NavCommand::Menu;
case Rml::Input::KeyIdentifier::KI_NEXT:
return NavCommand::Next;
case Rml::Input::KeyIdentifier::KI_PRIOR: