From 58448d74c541d8081bafff4d35940281db88c610 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Tue, 21 Jan 2020 18:50:05 -0600 Subject: InputCommon: Add real Wii Remote support to ControllerInterface. Add option to connect additional Wii Remotes. --- Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp') 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 #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(); -- cgit v1.2.3