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/
|
Enabled/
|
||||||
Disabled/
|
Disabled/
|
||||||
build/
|
build/
|
||||||
|
build_uwp/
|
||||||
.vs/
|
.vs/
|
||||||
.vscode/*.log
|
.vscode/*.log
|
||||||
.cache/
|
.cache/
|
||||||
|
|||||||
@@ -144,6 +144,7 @@ void ImGuiLayer::init() {
|
|||||||
ImGui::CreateContext();
|
ImGui::CreateContext();
|
||||||
ImGuiIO& io = ImGui::GetIO();
|
ImGuiIO& io = ImGui::GetIO();
|
||||||
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
|
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
|
||||||
|
io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad;
|
||||||
io.IniFilename = nullptr;
|
io.IniFilename = nullptr;
|
||||||
showDebug = emu.getConfig().frontendSettings.showImGuiDebugPanel;
|
showDebug = emu.getConfig().frontendSettings.showImGuiDebugPanel;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user