NoGUI: Implement mouse cursor hiding in fullscreen

This commit is contained in:
Connor McLaughlin
2021-05-18 02:29:56 +10:00
parent 6f38e171b2
commit f3cceca805
3 changed files with 9 additions and 5 deletions

View File

@ -514,7 +514,8 @@ void CommonHostInterface::CreateImGuiContext()
ImGui::GetIO().IniFilename = nullptr;
#ifndef __ANDROID__
// Android has no keyboard, nor are we using ImGui for any actual user-interactable windows.
ImGui::GetIO().ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard | ImGuiConfigFlags_NavEnableGamepad;
ImGui::GetIO().ConfigFlags |=
ImGuiConfigFlags_NavEnableKeyboard | ImGuiConfigFlags_NavEnableGamepad | ImGuiConfigFlags_NoMouseCursorChange;
#endif
}