diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2020-05-09 15:44:45 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2020-07-17 14:53:39 -0500 |
| commit | 58aa0150e1d3d391d5fd4e04ab402afb10a60fcc (patch) | |
| tree | adcca627f92d26bf324eea6e8d73dbaaf149aa1d /Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h | |
| parent | a98df567b11758c9581b23dc72cb1ee9afaf79ce (diff) | |
DolphinQt / InputCommon: Support multiple DSU servers
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h | 8 |
1 files changed, 5 insertions, 3 deletions
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<bool> SERVER_ENABLED; -extern const Config::Info<std::string> SERVER_ADDRESS; -extern const Config::Info<int> SERVER_PORT; +extern const Config::Info<std::string> SERVERS; +extern const Config::Info<bool> SERVERS_ENABLED; } // namespace Settings void Init(); |
