summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2019-10-28 16:39:10 +0100
committerGitHub <noreply@github.com>2019-10-28 16:39:10 +0100
commit1f3d1a9b7fa2d4729ddadfc0fc923c7730a00a49 (patch)
tree59c9aac33c104d3dc5b4039773b876cd6c389b4f /Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h
parenta825e7e09f8a39772b10c83db5322dc88e0f591f (diff)
parentda1f153b47a3f3f4eb9b976670bfddf68108bae9 (diff)
Merge pull request #8352 from rlnilsen/motion-controller-support-via-cemuhook-protocol
Support for motion controllers like the DualShock 4
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h
new file mode 100644
index 0000000000..b4bb1210c6
--- /dev/null
+++ b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h
@@ -0,0 +1,19 @@
+// Copyright 2019 Dolphin Emulator Project
+// Licensed under GPLv2+
+// Refer to the license.txt file included.
+
+#include "Common/Config/Config.h"
+
+namespace ciface::DualShockUDPClient
+{
+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();
+} // namespace ciface::DualShockUDPClient