feat: enable gamepad navigation in ImGui and update .gitignore for UWP build

This commit is contained in:
moonpower
2026-02-02 02:30:56 +03:00
parent 8cc51b8223
commit cb9d09aca0
2 changed files with 2 additions and 1 deletions

2
.gitignore vendored
View File

@@ -16,7 +16,7 @@ ReleaseWithClangCL/
Enabled/
Disabled/
build/
build_uwp/
.vs/
.vscode/*.log
.cache/

View File

@@ -144,6 +144,7 @@ void ImGuiLayer::init() {
ImGui::CreateContext();
ImGuiIO& io = ImGui::GetIO();
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad;
io.IniFilename = nullptr;
showDebug = emu.getConfig().frontendSettings.showImGuiDebugPanel;