Skip to content

Commit 75bf7ee

Browse files
authored
Allow TAB to open host options (#97)
1 parent 5b5b9f6 commit 75bf7ee

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Minecraft.Client/Windows64/Windows64_Minecraft.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,17 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
12201220
ToggleFullscreen();
12211221
}
12221222

1223+
// TAB opens host options menu. - Vvis :3
1224+
if (KMInput.IsKeyPressed(VK_TAB))
1225+
{
1226+
if (Minecraft* pMinecraft = Minecraft::GetInstance())
1227+
{
1228+
{
1229+
ui.NavigateToScene(0, eUIScene_InGameHostOptionsMenu);
1230+
}
1231+
}
1232+
}
1233+
12231234
#if 0
12241235
// has the game defined profile data been changed (by a profile load)
12251236
if(app.uiGameDefinedDataChangedBitmask!=0)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ This project contains the source code of Minecraft Legacy Console Edition v1.3.0
3333
- **Attack / Destroy**: `Left Click`
3434
- **Use / Place**: `Right Click`
3535
- **Select Item**: `Mouse Wheel` or keys `1` to `9`
36+
- **Host Options**: `TAB`
3637

3738
## Build & Run
3839

0 commit comments

Comments
 (0)