diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2026-11-19 02:32:41 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2026-11-21 15:00:43 -0600 |
| commit | 646e8912d131b7c027dcb6e3d27e397a99f391cb (patch) | |
| tree | 91b922bd5d6d2480b1352a36ca3bfdf88bd16e53 /Source/Core | |
| parent | b2c2c21e58d4acc5de49e8c7d3bc76c8e34f6476 (diff) | |
ControllerInterface/SDL: Remove SDL_UpdateGamepads call. It's unnecessary since we're polling events.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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<std::weak_ptr<ciface::Core::Device>>& 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<std::weak_ptr<ciface::Core::Device>>&) -{ - SDL_UpdateGamepads(); -} - void InputBackend::OpenAndAddDevice(SDL_JoystickID instance_id) { SDL_Gamepad* gc = SDL_OpenGamepad(instance_id); |
