diff --git a/Minecraft.Client/Common/App_enums.h b/Minecraft.Client/Common/App_enums.h index 15a17978..42265278 100644 --- a/Minecraft.Client/Common/App_enums.h +++ b/Minecraft.Client/Common/App_enums.h @@ -878,7 +878,8 @@ enum EControllerActions MINECRAFT_ACTION_SPAWN_CREEPER, MINECRAFT_ACTION_CHANGE_SKIN, MINECRAFT_ACTION_FLY_TOGGLE, - MINECRAFT_ACTION_RENDER_DEBUG + MINECRAFT_ACTION_RENDER_DEBUG, + MINECRAFT_ACTION_SCREENSHOT }; enum eMCLang diff --git a/Minecraft.Client/Minecraft.cpp b/Minecraft.Client/Minecraft.cpp index f8493dde..d04bdc78 100644 --- a/Minecraft.Client/Minecraft.cpp +++ b/Minecraft.Client/Minecraft.cpp @@ -1553,6 +1553,9 @@ void Minecraft::run_middle() localplayers[i]->ullButtonsPressed|=1LL<ullButtonsPressed|=1LL<thirdPersonView = !options->thirdPersonView; } +#ifdef _WINDOWS64 + if(player->ullButtonsPressed&(1LL<ullButtonsPressed&(1LL<isInputAllowed(MINECRAFT_ACTION_GAME_INFO)) { ui.NavigateToScene(iPad,eUIScene_InGameInfoMenu); diff --git a/Minecraft.Client/Windows64/KeyboardMouseInput.h b/Minecraft.Client/Windows64/KeyboardMouseInput.h index e8b5f588..9b25c929 100644 --- a/Minecraft.Client/Windows64/KeyboardMouseInput.h +++ b/Minecraft.Client/Windows64/KeyboardMouseInput.h @@ -36,8 +36,6 @@ public: static const int KEY_DEBUG_CONSOLE = VK_F6; static const int KEY_HOST_SETTINGS = VK_TAB; static const int KEY_FULLSCREEN = VK_F11; - - // todo: implement and shi static const int KEY_SCREENSHOT = VK_F2; void Init();