summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers
diff options
context:
space:
mode:
authorFranco M <francomaro@gmail.com>2023-10-16 08:25:11 +0200
committerGitHub <noreply@github.com>2023-10-16 08:25:11 +0200
commitb3b458edf929ebcd3a52fd0724250e5f1ab49957 (patch)
treeffc5d0c9bf75a6cfff1c8a47849a3ed6e4177605 /src/input_common/drivers
parentLess code, simpler, better. (diff)
parentMerge pull request #11786 from v1993/cuda-on-linux (diff)
downloadyuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar
yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar.gz
yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar.bz2
yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar.lz
yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar.xz
yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar.zst
yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.zip
Diffstat (limited to 'src/input_common/drivers')
-rw-r--r--src/input_common/drivers/udp_client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_common/drivers/udp_client.cpp b/src/input_common/drivers/udp_client.cpp
index 808b21069..77db60e92 100644
--- a/src/input_common/drivers/udp_client.cpp
+++ b/src/input_common/drivers/udp_client.cpp
@@ -338,6 +338,7 @@ void UDPClient::StartCommunication(std::size_t client, const std::string& host,
for (std::size_t index = 0; index < PADS_PER_CLIENT; ++index) {
const PadIdentifier identifier = GetPadIdentifier(client * PADS_PER_CLIENT + index);
PreSetController(identifier);
+ PreSetMotion(identifier, 0);
}
}