diff --git a/soh/soh/SohGui/Menu.cpp b/soh/soh/SohGui/Menu.cpp index 5a609a935..b4e2b3427 100644 --- a/soh/soh/SohGui/Menu.cpp +++ b/soh/soh/SohGui/Menu.cpp @@ -9,6 +9,7 @@ #include #include "variables.h" #include +#include "imgui_impl_sdl2.h" extern "C" { #include "z64.h" @@ -120,6 +121,7 @@ UIWidgets::Colors Menu::GetMenuThemeColor() { Menu::Menu(const std::string& cVar, const std::string& name, uint8_t searchSidebarIndex_, UIWidgets::Colors defaultThemeIndex_) : GuiWindow(cVar, name), searchSidebarIndex(searchSidebarIndex_), defaultThemeIndex(defaultThemeIndex_) { + ImGui_ImplSDL2_SetGamepadMode(ImGui_ImplSDL2_GamepadMode::ImGui_ImplSDL2_GamepadMode_AutoAll); } void Menu::InitElement() {