summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2024-03-11 01:46:33 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2024-03-11 03:05:52 -0500
commit2ac59bf5813ab44dc3e7f067913b0e951e8b6199 (patch)
treef0e62428746dc39b4f6feb93a563b648a879c018 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
parent8098be3dfa07aa529f61ea2ec4ff4077ef01b2d8 (diff)
InputCommon: Add Pipes InputBackend class.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
index fa44e8bf79..71dea5512c 100644
--- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
@@ -77,7 +77,7 @@ void ControllerInterface::Initialize(const WindowSystemInfo& wsi)
m_input_backends.emplace_back(ciface::evdev::CreateInputBackend(this));
#endif
#ifdef CIFACE_USE_PIPES
-// nothing needed
+ m_input_backends.emplace_back(ciface::Pipes::CreateInputBackend(this));
#endif
#ifdef CIFACE_USE_DUALSHOCKUDPCLIENT
m_input_backends.emplace_back(ciface::DualShockUDPClient::CreateInputBackend(this));
@@ -165,9 +165,6 @@ void ControllerInterface::RefreshDevices(RefreshReason reason)
#ifdef CIFACE_USE_ANDROID
ciface::Android::PopulateDevices();
#endif
-#ifdef CIFACE_USE_PIPES
- ciface::Pipes::PopulateDevices();
-#endif
for (auto& backend : m_input_backends)
backend->PopulateDevices();