diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-16 04:22:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 04:22:45 +0200 |
commit | 9e2ebb24df078dc16e1ebfa398b28bb70f206e75 (patch) | |
tree | b9f060d5dab35a6269ebb952033e3af0a14612f7 /src | |
parent | Merge pull request #11780 from Darkness4/master (diff) | |
parent | input_common: udp: Avoid crash when trying to map motion before client is ready (diff) | |
download | yuzu-9e2ebb24df078dc16e1ebfa398b28bb70f206e75.tar yuzu-9e2ebb24df078dc16e1ebfa398b28bb70f206e75.tar.gz yuzu-9e2ebb24df078dc16e1ebfa398b28bb70f206e75.tar.bz2 yuzu-9e2ebb24df078dc16e1ebfa398b28bb70f206e75.tar.lz yuzu-9e2ebb24df078dc16e1ebfa398b28bb70f206e75.tar.xz yuzu-9e2ebb24df078dc16e1ebfa398b28bb70f206e75.tar.zst yuzu-9e2ebb24df078dc16e1ebfa398b28bb70f206e75.zip |
Diffstat (limited to '')
-rw-r--r-- | src/input_common/drivers/udp_client.cpp | 1 |
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); } } |