diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-27 02:29:08 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2021-11-27 02:31:04 +0100 |
commit | 182cd9004f75df21979d0edd47910fecbd129b63 (patch) | |
tree | 0e53bca95c6cdf14ab763d425c3f776fb466edf4 /src/core | |
parent | applet/controller: Enable configuring mode while the applet is open (diff) | |
download | yuzu-182cd9004f75df21979d0edd47910fecbd129b63.tar yuzu-182cd9004f75df21979d0edd47910fecbd129b63.tar.gz yuzu-182cd9004f75df21979d0edd47910fecbd129b63.tar.bz2 yuzu-182cd9004f75df21979d0edd47910fecbd129b63.tar.lz yuzu-182cd9004f75df21979d0edd47910fecbd129b63.tar.xz yuzu-182cd9004f75df21979d0edd47910fecbd129b63.tar.zst yuzu-182cd9004f75df21979d0edd47910fecbd129b63.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hid/emulated_controller.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp index 54d4ed93d..06ae41c3e 100644 --- a/src/core/hid/emulated_controller.cpp +++ b/src/core/hid/emulated_controller.cpp @@ -92,10 +92,11 @@ void EmulatedController::ReloadFromSettings() { ReloadInput(); } + void EmulatedController::LoadDevices() { // TODO(german77): Use more buttons to detect the correct device - const auto left_joycon = button_params[Settings::NativeButton::A]; - const auto right_joycon = button_params[Settings::NativeButton::DRight]; + const auto left_joycon = button_params[Settings::NativeButton::DRight]; + const auto right_joycon = button_params[Settings::NativeButton::A]; // Triggers for GC controllers trigger_params[LeftIndex] = button_params[Settings::NativeButton::ZL]; |