From 19c3b88e5a02992448bda5aba5610182d7a9b287 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Wed, 30 Oct 2024 17:41:09 -0500 Subject: [PATCH] ControllerInterface/SDL: Disable SDL's Windows.Gaming.Input controller handling. --- Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp index 0dfcd51281..4285c8784d 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp @@ -441,6 +441,8 @@ InputBackend::InputBackend(ControllerInterface* controller_interface) SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1"); // We want buttons to come in as positions, not labels SDL_SetHint(SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS, "0"); + // We have our own WGI backend. Enabling SDL's WGI handling creates even more redundant devices. + SDL_SetHint(SDL_HINT_JOYSTICK_WGI, "0"); m_hotplug_thread = std::thread([this] { Common::ScopeGuard quit_guard([] {