From 50067ffadf5f54323848d7411121ad355d0f7678 Mon Sep 17 00:00:00 2001 From: rainmakerv3 <30595646+rainmakerv3@users.noreply.github.com> Date: Sun, 29 Jun 2025 17:33:19 +0800 Subject: [PATCH] edit imgui flag after updating --- src/imgui/renderer/imgui_impl_sdl3.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/imgui/renderer/imgui_impl_sdl3.cpp b/src/imgui/renderer/imgui_impl_sdl3.cpp index fd703ee19..99f3b662e 100644 --- a/src/imgui/renderer/imgui_impl_sdl3.cpp +++ b/src/imgui/renderer/imgui_impl_sdl3.cpp @@ -734,6 +734,7 @@ static void UpdateGamepads() { SDL_Gamepad* SDLGamepad = Input::m_gamepad; if (SDLGamepad) { bd->gamepads.push_back(SDLGamepad); + bd->want_update_gamepads_list = false; } else { // Update list of gamepads to use if (bd->want_update_gamepads_list &&