DolphinQt / InputCommon: Support multiple DSU servers

This commit is contained in:
iwubcode
2020-05-09 15:44:45 -05:00
parent a98df567b1
commit 58aa0150e1
9 changed files with 359 additions and 130 deletions

View File

@ -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();