UDPServer: Add configuration UI.

Accessed through button "Alternate Input Sources" in the "Controller Settings" dialog.
This commit is contained in:
rlnilsen
2019-10-23 01:49:48 +02:00
parent 8aec424191
commit 5ff79499a5
10 changed files with 248 additions and 22 deletions

View File

@ -2,10 +2,18 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Common/Config/Config.h"
namespace ciface::CemuHookUDPServer
{
namespace Settings
{
extern const Config::ConfigInfo<bool> SERVER_ENABLED;
extern const Config::ConfigInfo<std::string> SERVER_ADDRESS;
extern const Config::ConfigInfo<int> SERVER_PORT;
} // namespace Settings
void Init();
void PopulateDevices();
void DeInit();
void SaveSettings();
} // namespace ciface::CemuHookUDPServer