| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include "Common/CommonTypes.h" |
| 7 |
#include "Common/Config/ConfigInfo.h" |
| 8 |
#include "InputCommon/ControllerInterface/InputBackend.h" |
| 9 |
|
| 10 |
namespace ciface::DualShockUDPClient |
| 11 |
{ |
| 12 |
constexpr char DEFAULT_SERVER_ADDRESS[] = "127.0.0.1"; |
| 13 |
constexpr u16 DEFAULT_SERVER_PORT = 26760; |
| 14 |
|
| 15 |
namespace Settings |
| 16 |
{ |
| 17 |
|
| 18 |
extern const Config::Info<std::string> SERVER_ADDRESS; |
| 19 |
extern const Config::Info<int> SERVER_PORT; |
| 20 |
|
| 21 |
extern const Config::Info<std::string> SERVERS; |
| 22 |
extern const Config::Info<bool> SERVERS_ENABLED; |
| 23 |
} |
| 24 |
|
| 25 |
std::unique_ptr<ciface::InputBackend> CreateInputBackend(ControllerInterface* controller_interface); |
| 26 |
|
| 27 |
} |