diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2020-01-21 18:50:05 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2020-02-17 16:14:01 -0600 |
| commit | 58448d74c541d8081bafff4d35940281db88c610 (patch) | |
| tree | 92444ee99d0e9fd6ccd7de68a3f2e31a652bfa05 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | |
| parent | 4176cc77e1c3627ceee7b849195f026efc1bf9ca (diff) | |
InputCommon: Add real Wii Remote support to ControllerInterface. Add option to connect additional Wii Remotes.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp index faa6de185e..833f288da5 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp @@ -7,6 +7,7 @@ #include <algorithm> #include "Common/Logging/Log.h" +#include "Core/HW/WiimoteReal/WiimoteReal.h" #ifdef CIFACE_USE_WIN32 #include "InputCommon/ControllerInterface/Win32/Win32.h" @@ -131,7 +132,8 @@ void ControllerInterface::RefreshDevices() #ifdef CIFACE_USE_DUALSHOCKUDPCLIENT ciface::DualShockUDPClient::PopulateDevices(); #endif - ciface::Wiimote::PopulateDevices(); + + WiimoteReal::ProcessWiimotePool(); m_is_populating_devices = false; InvokeDevicesChangedCallbacks(); |
