summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers/udp_client.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-10-25 19:53:14 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:26 +0100
commit1d71d4b87415b2581e6757f07d29275e02671b7a (patch)
treefdce385f094f5b38394e2c8582309f00756a3393 /src/input_common/drivers/udp_client.h
parentinput_common: Add multiple vibration curves (diff)
downloadyuzu-1d71d4b87415b2581e6757f07d29275e02671b7a.tar
yuzu-1d71d4b87415b2581e6757f07d29275e02671b7a.tar.gz
yuzu-1d71d4b87415b2581e6757f07d29275e02671b7a.tar.bz2
yuzu-1d71d4b87415b2581e6757f07d29275e02671b7a.tar.lz
yuzu-1d71d4b87415b2581e6757f07d29275e02671b7a.tar.xz
yuzu-1d71d4b87415b2581e6757f07d29275e02671b7a.tar.zst
yuzu-1d71d4b87415b2581e6757f07d29275e02671b7a.zip
Diffstat (limited to '')
-rw-r--r--src/input_common/drivers/udp_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_common/drivers/udp_client.h b/src/input_common/drivers/udp_client.h
index 639325b17..1f02adba5 100644
--- a/src/input_common/drivers/udp_client.h
+++ b/src/input_common/drivers/udp_client.h
@@ -69,6 +69,7 @@ private:
struct ClientConnection {
ClientConnection();
~ClientConnection();
+ Common::UUID uuid{"7F000001"};
std::string host{"127.0.0.1"};
u16 port{26760};
s8 active{-1};
@@ -87,6 +88,7 @@ private:
void OnPadData(Response::PadData, std::size_t client);
void StartCommunication(std::size_t client, const std::string& host, u16 port);
const PadIdentifier GetPadIdentifier(std::size_t pad_index) const;
+ const Common::UUID GetHostUUID(const std::string host) const;
// Allocate clients for 8 udp servers
static constexpr std::size_t MAX_UDP_CLIENTS = 8;