Allow TAB to open host options (#97)

This commit is contained in:
Vvis
2026-03-01 22:33:18 -07:00
committed by GitHub
parent 5b5b9f6072
commit 75bf7ee54a
2 changed files with 12 additions and 0 deletions

View File

@@ -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)

View File

@@ -33,6 +33,7 @@ This project contains the source code of Minecraft Legacy Console Edition v1.3.0
- **Attack / Destroy**: `Left Click`
- **Use / Place**: `Right Click`
- **Select Item**: `Mouse Wheel` or keys `1` to `9`
- **Host Options**: `TAB`
## Build & Run