From 58aa0150e1d3d391d5fd4e04ab402afb10a60fcc Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sat, 9 May 2020 15:44:45 -0500 Subject: DolphinQt / InputCommon: Support multiple DSU servers --- .../ControllerInterface/DualShockUDPClient/DualShockUDPClient.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h') diff --git a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h index 1b51a2e1b9..e7a9057569 100644 --- a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h +++ b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h @@ -8,11 +8,13 @@ namespace ciface::DualShockUDPClient { +constexpr char DEFAULT_SERVER_ADDRESS[] = "127.0.0.1"; +constexpr u16 DEFAULT_SERVER_PORT = 26760; + namespace Settings { -extern const Config::Info SERVER_ENABLED; -extern const Config::Info SERVER_ADDRESS; -extern const Config::Info SERVER_PORT; +extern const Config::Info SERVERS; +extern const Config::Info SERVERS_ENABLED; } // namespace Settings void Init(); -- cgit v1.2.3