Debian Codegraph @

Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h

raw symbols SCIP
1 // Copyright 2019 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
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 // These two kept for backwards compatibility
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 } // namespace Settings
24
25 std::unique_ptr<ciface::InputBackend> CreateInputBackend(ControllerInterface* controller_interface);
26
27 } // namespace ciface::DualShockUDPClient