From 646e8912d131b7c027dcb6e3d27e397a99f391cb Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Thu, 19 Nov 2026 02:32:41 -0600 Subject: ControllerInterface/SDL: Remove SDL_UpdateGamepads call. It's unnecessary since we're polling events. --- Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/SDL') diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp index 5aeb9e07db..92def8cc0a 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp @@ -34,7 +34,6 @@ public: InputBackend(ControllerInterface* controller_interface); ~InputBackend() override; void PopulateDevices() override; - void UpdateInput(std::vector>& devices_to_remove) override; private: void OpenAndAddDevice(SDL_JoystickID instance_id); @@ -257,11 +256,6 @@ void InputBackend::PopulateDevices() SDL_PushEvent(&populate_event); } -void InputBackend::UpdateInput(std::vector>&) -{ - SDL_UpdateGamepads(); -} - void InputBackend::OpenAndAddDevice(SDL_JoystickID instance_id) { SDL_Gamepad* gc = SDL_OpenGamepad(instance_id); -- cgit v1.2.3