diff options
author | german77 <juangerman-13@hotmail.com> | 2023-11-12 03:54:06 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-11-12 04:03:15 +0100 |
commit | ae57a99d7d2063661cc15e76e8183122d8e0bc1b (patch) | |
tree | 206b82f9387b93dbdc08408ceff88c24814f3237 /src/input_common/drivers/udp_client.cpp | |
parent | Merge pull request #11980 from german77/moment (diff) | |
download | yuzu-ae57a99d7d2063661cc15e76e8183122d8e0bc1b.tar yuzu-ae57a99d7d2063661cc15e76e8183122d8e0bc1b.tar.gz yuzu-ae57a99d7d2063661cc15e76e8183122d8e0bc1b.tar.bz2 yuzu-ae57a99d7d2063661cc15e76e8183122d8e0bc1b.tar.lz yuzu-ae57a99d7d2063661cc15e76e8183122d8e0bc1b.tar.xz yuzu-ae57a99d7d2063661cc15e76e8183122d8e0bc1b.tar.zst yuzu-ae57a99d7d2063661cc15e76e8183122d8e0bc1b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/input_common/drivers/udp_client.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/input_common/drivers/udp_client.cpp b/src/input_common/drivers/udp_client.cpp index 77db60e92..60821b31a 100644 --- a/src/input_common/drivers/udp_client.cpp +++ b/src/input_common/drivers/udp_client.cpp @@ -396,7 +396,7 @@ std::vector<Common::ParamPackage> UDPClient::GetInputDevices() const { ButtonMapping UDPClient::GetButtonMappingForDevice(const Common::ParamPackage& params) { // This list excludes any button that can't be really mapped - static constexpr std::array<std::pair<Settings::NativeButton::Values, PadButton>, 20> + static constexpr std::array<std::pair<Settings::NativeButton::Values, PadButton>, 22> switch_to_dsu_button = { std::pair{Settings::NativeButton::A, PadButton::Circle}, {Settings::NativeButton::B, PadButton::Cross}, @@ -412,8 +412,10 @@ ButtonMapping UDPClient::GetButtonMappingForDevice(const Common::ParamPackage& p {Settings::NativeButton::R, PadButton::R1}, {Settings::NativeButton::ZL, PadButton::L2}, {Settings::NativeButton::ZR, PadButton::R2}, - {Settings::NativeButton::SL, PadButton::L2}, - {Settings::NativeButton::SR, PadButton::R2}, + {Settings::NativeButton::SLLeft, PadButton::L2}, + {Settings::NativeButton::SRLeft, PadButton::R2}, + {Settings::NativeButton::SLRight, PadButton::L2}, + {Settings::NativeButton::SRRight, PadButton::R2}, {Settings::NativeButton::LStick, PadButton::L3}, {Settings::NativeButton::RStick, PadButton::R3}, {Settings::NativeButton::Home, PadButton::Home}, |