From 75bf7ee54a2d4bbaded95453ac699c5d2d529628 Mon Sep 17 00:00:00 2001 From: Vvis <76018445+Lambdagon@users.noreply.github.com> Date: Sun, 1 Mar 2026 22:33:18 -0700 Subject: Allow TAB to open host options (#97) --- Minecraft.Client/Windows64/Windows64_Minecraft.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Minecraft.Client/Windows64') diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp index 1bffe317..540c3c53 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp @@ -1220,6 +1220,17 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance, ToggleFullscreen(); } + // TAB opens host options menu. - Vvis :3 + if (KMInput.IsKeyPressed(VK_TAB)) + { + if (Minecraft* pMinecraft = Minecraft::GetInstance()) + { + { + ui.NavigateToScene(0, eUIScene_InGameHostOptionsMenu); + } + } + } + #if 0 // has the game defined profile data been changed (by a profile load) if(app.uiGameDefinedDataChangedBitmask!=0) -- cgit v1.2.3