diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-21 20:56:52 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:25 +0100 |
commit | b5e72de753ae4de5c5fae7087abb00dc4242451d (patch) | |
tree | ac1f2b56814bbaaa1a5432c4e1d79c12dd16296d /src/input_common/drivers/udp_client.cpp | |
parent | service/hid: Use ring buffer for gestures (diff) | |
download | yuzu-b5e72de753ae4de5c5fae7087abb00dc4242451d.tar yuzu-b5e72de753ae4de5c5fae7087abb00dc4242451d.tar.gz yuzu-b5e72de753ae4de5c5fae7087abb00dc4242451d.tar.bz2 yuzu-b5e72de753ae4de5c5fae7087abb00dc4242451d.tar.lz yuzu-b5e72de753ae4de5c5fae7087abb00dc4242451d.tar.xz yuzu-b5e72de753ae4de5c5fae7087abb00dc4242451d.tar.zst yuzu-b5e72de753ae4de5c5fae7087abb00dc4242451d.zip |
Diffstat (limited to 'src/input_common/drivers/udp_client.cpp')
-rw-r--r-- | src/input_common/drivers/udp_client.cpp | 2 |
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) { SetButton(identifier, touch_id, true); continue; } + SetAxis(identifier, touch_id * 2, 0); + SetAxis(identifier, touch_id * 2 + 1, 0); SetButton(identifier, touch_id, false); } } |