diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-25 12:53:14 -0500 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-24 20:30:26 -0600 |
commit | 1d71d4b87415b2581e6757f07d29275e02671b7a (patch) | |
tree | fdce385f094f5b38394e2c8582309f00756a3393 /src/input_common/drivers/udp_client.h | |
parent | 7348e205d94e2fff777781498a2ef7931163703a (diff) |
input_common: Fix UDP uuid
Diffstat (limited to 'src/input_common/drivers/udp_client.h')
-rw-r--r-- | src/input_common/drivers/udp_client.h | 2 |
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; |