feat: enable gamepad navigation in ImGui and update .gitignore for UWP build
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -16,7 +16,7 @@ ReleaseWithClangCL/
|
||||
Enabled/
|
||||
Disabled/
|
||||
build/
|
||||
|
||||
build_uwp/
|
||||
.vs/
|
||||
.vscode/*.log
|
||||
.cache/
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user