mirror of
https://github.com/rt64/rt64.git
synced 2024-12-26 03:15:44 +00:00
Disable Gamepad Polling in ImGui.
This commit is contained in:
parent
16f1708da2
commit
52dc26e99d
@ -78,6 +78,9 @@ namespace RT64 {
|
||||
|
||||
if (sdlWindow != nullptr) {
|
||||
ImGui_ImplSDL2_InitForOther(sdlWindow);
|
||||
|
||||
// Disable Gamepad polling as it's not used at all and it has the potential to cause deadlocks with some controllers.
|
||||
ImGui_ImplSDL2_SetGamepadMode(ImGui_ImplSDL2_GamepadMode_Manual);
|
||||
}
|
||||
else {
|
||||
# ifdef _WIN32
|
||||
|
Loading…
Reference in New Issue
Block a user