summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/udp_client.cpp
diff options
context:
space:
mode:
authorGravatar german772021-10-21 13:56:52 -0500
committerGravatar Narr the Reg2021-11-24 20:30:25 -0600
commitb5e72de753ae4de5c5fae7087abb00dc4242451d (patch)
treeac1f2b56814bbaaa1a5432c4e1d79c12dd16296d /src/input_common/drivers/udp_client.cpp
parentservice/hid: Use ring buffer for gestures (diff)
downloadyuzu-b5e72de753ae4de5c5fae7087abb00dc4242451d.tar.gz
yuzu-b5e72de753ae4de5c5fae7087abb00dc4242451d.tar.xz
yuzu-b5e72de753ae4de5c5fae7087abb00dc4242451d.zip
kraken: Address comments from review
review fixes
Diffstat (limited to 'src/input_common/drivers/udp_client.cpp')
-rw-r--r--src/input_common/drivers/udp_client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_common/drivers/udp_client.cpp b/src/input_common/drivers/udp_client.cpp
index f0c0a6b8b..192ab336b 100644
--- a/src/input_common/drivers/udp_client.cpp
+++ b/src/input_common/drivers/udp_client.cpp
@@ -268,6 +268,8 @@ void UDPClient::OnPadData(Response::PadData data, std::size_t client) {
268 SetButton(identifier, touch_id, true); 268 SetButton(identifier, touch_id, true);
269 continue; 269 continue;
270 } 270 }
271 SetAxis(identifier, touch_id * 2, 0);
272 SetAxis(identifier, touch_id * 2 + 1, 0);
271 SetButton(identifier, touch_id, false); 273 SetButton(identifier, touch_id, false);
272 } 274 }
273} 275}