summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.cpp
diff options
context:
space:
mode:
authorGravatar german772021-11-26 19:29:08 -0600
committerGravatar german772021-11-26 19:31:04 -0600
commit182cd9004f75df21979d0edd47910fecbd129b63 (patch)
tree0e53bca95c6cdf14ab763d425c3f776fb466edf4 /src/core/hid/emulated_controller.cpp
parentapplet/controller: Enable configuring mode while the applet is open (diff)
downloadyuzu-182cd9004f75df21979d0edd47910fecbd129b63.tar.gz
yuzu-182cd9004f75df21979d0edd47910fecbd129b63.tar.xz
yuzu-182cd9004f75df21979d0edd47910fecbd129b63.zip
config: Remove vibration configuration
Diffstat (limited to 'src/core/hid/emulated_controller.cpp')
-rw-r--r--src/core/hid/emulated_controller.cpp5
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() {
92 92
93 ReloadInput(); 93 ReloadInput();
94} 94}
95
95void EmulatedController::LoadDevices() { 96void EmulatedController::LoadDevices() {
96 // TODO(german77): Use more buttons to detect the correct device 97 // TODO(german77): Use more buttons to detect the correct device
97 const auto left_joycon = button_params[Settings::NativeButton::A]; 98 const auto left_joycon = button_params[Settings::NativeButton::DRight];
98 const auto right_joycon = button_params[Settings::NativeButton::DRight]; 99 const auto right_joycon = button_params[Settings::NativeButton::A];
99 100
100 // Triggers for GC controllers 101 // Triggers for GC controllers
101 trigger_params[LeftIndex] = button_params[Settings::NativeButton::ZL]; 102 trigger_params[LeftIndex] = button_params[Settings::NativeButton::ZL];