diff options
| author | 2023-11-26 21:08:53 -0500 | |
|---|---|---|
| committer | 2023-11-26 21:08:53 -0500 | |
| commit | 1d11fe00a3000efbf6a0a4bb690e0d544a1b7b4a (patch) | |
| tree | c219aacab776c0a1e3956614b60a01fa2f6164cb /src/input_common/drivers/udp_client.cpp | |
| parent | shader_recompiler: Align SSBO offsets in GlobalMemory functions (diff) | |
| parent | Merge pull request #11535 from GPUCode/upload_cmdbuf (diff) | |
| download | yuzu-1d11fe00a3000efbf6a0a4bb690e0d544a1b7b4a.tar.gz yuzu-1d11fe00a3000efbf6a0a4bb690e0d544a1b7b4a.tar.xz yuzu-1d11fe00a3000efbf6a0a4bb690e0d544a1b7b4a.zip | |
Merge branch 'master' into ssbo-align
Diffstat (limited to 'src/input_common/drivers/udp_client.cpp')
| -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 { | |||
| 396 | 396 | ||
| 397 | ButtonMapping UDPClient::GetButtonMappingForDevice(const Common::ParamPackage& params) { | 397 | ButtonMapping UDPClient::GetButtonMappingForDevice(const Common::ParamPackage& params) { |
| 398 | // This list excludes any button that can't be really mapped | 398 | // This list excludes any button that can't be really mapped |
| 399 | static constexpr std::array<std::pair<Settings::NativeButton::Values, PadButton>, 20> | 399 | static constexpr std::array<std::pair<Settings::NativeButton::Values, PadButton>, 22> |
| 400 | switch_to_dsu_button = { | 400 | switch_to_dsu_button = { |
| 401 | std::pair{Settings::NativeButton::A, PadButton::Circle}, | 401 | std::pair{Settings::NativeButton::A, PadButton::Circle}, |
| 402 | {Settings::NativeButton::B, PadButton::Cross}, | 402 | {Settings::NativeButton::B, PadButton::Cross}, |
| @@ -412,8 +412,10 @@ ButtonMapping UDPClient::GetButtonMappingForDevice(const Common::ParamPackage& p | |||
| 412 | {Settings::NativeButton::R, PadButton::R1}, | 412 | {Settings::NativeButton::R, PadButton::R1}, |
| 413 | {Settings::NativeButton::ZL, PadButton::L2}, | 413 | {Settings::NativeButton::ZL, PadButton::L2}, |
| 414 | {Settings::NativeButton::ZR, PadButton::R2}, | 414 | {Settings::NativeButton::ZR, PadButton::R2}, |
| 415 | {Settings::NativeButton::SL, PadButton::L2}, | 415 | {Settings::NativeButton::SLLeft, PadButton::L2}, |
| 416 | {Settings::NativeButton::SR, PadButton::R2}, | 416 | {Settings::NativeButton::SRLeft, PadButton::R2}, |
| 417 | {Settings::NativeButton::SLRight, PadButton::L2}, | ||
| 418 | {Settings::NativeButton::SRRight, PadButton::R2}, | ||
| 417 | {Settings::NativeButton::LStick, PadButton::L3}, | 419 | {Settings::NativeButton::LStick, PadButton::L3}, |
| 418 | {Settings::NativeButton::RStick, PadButton::R3}, | 420 | {Settings::NativeButton::RStick, PadButton::R3}, |
| 419 | {Settings::NativeButton::Home, PadButton::Home}, | 421 | {Settings::NativeButton::Home, PadButton::Home}, |