summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp6
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);