summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/udp_client.h
diff options
context:
space:
mode:
authorGravatar Morph2022-02-05 00:40:28 -0500
committerGravatar Morph2022-02-05 13:18:41 -0500
commitcb30fe50cd074fe05dd1d6e4b0d58116d3d98489 (patch)
tree58450d743d317369266bbbea44734725d8b83ea6 /src/input_common/drivers/udp_client.h
parentcommon: Implement NewUUID (diff)
downloadyuzu-cb30fe50cd074fe05dd1d6e4b0d58116d3d98489.tar.gz
yuzu-cb30fe50cd074fe05dd1d6e4b0d58116d3d98489.tar.xz
yuzu-cb30fe50cd074fe05dd1d6e4b0d58116d3d98489.zip
input/hid: Migrate to the new UUID implementation
Diffstat (limited to 'src/input_common/drivers/udp_client.h')
-rw-r--r--src/input_common/drivers/udp_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/drivers/udp_client.h b/src/input_common/drivers/udp_client.h
index e9c178139..98abeedd1 100644
--- a/src/input_common/drivers/udp_client.h
+++ b/src/input_common/drivers/udp_client.h
@@ -126,7 +126,7 @@ private:
126 struct ClientConnection { 126 struct ClientConnection {
127 ClientConnection(); 127 ClientConnection();
128 ~ClientConnection(); 128 ~ClientConnection();
129 Common::UUID uuid{"7F000001"}; 129 Common::NewUUID uuid{"00000000-0000-0000-0000-00007F000001"};
130 std::string host{"127.0.0.1"}; 130 std::string host{"127.0.0.1"};
131 u16 port{26760}; 131 u16 port{26760};
132 s8 active{-1}; 132 s8 active{-1};
@@ -148,7 +148,7 @@ private:
148 void OnPadData(Response::PadData, std::size_t client); 148 void OnPadData(Response::PadData, std::size_t client);
149 void StartCommunication(std::size_t client, const std::string& host, u16 port); 149 void StartCommunication(std::size_t client, const std::string& host, u16 port);
150 PadIdentifier GetPadIdentifier(std::size_t pad_index) const; 150 PadIdentifier GetPadIdentifier(std::size_t pad_index) const;
151 Common::UUID GetHostUUID(const std::string& host) const; 151 Common::NewUUID GetHostUUID(const std::string& host) const;
152 152
153 Common::Input::ButtonNames GetUIButtonName(const Common::ParamPackage& params) const; 153 Common::Input::ButtonNames GetUIButtonName(const Common::ParamPackage& params) const;
154 154