From 50ecad547ea7e88301583f17c9f1eea2cc75b0af Mon Sep 17 00:00:00 2001 From: t895 Date: Fri, 16 Feb 2024 21:19:17 -0500 Subject: android: Input mapping --- src/hid_core/frontend/emulated_controller.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/hid_core') diff --git a/src/hid_core/frontend/emulated_controller.cpp b/src/hid_core/frontend/emulated_controller.cpp index 8b5d0eec6..3fa06d188 100644 --- a/src/hid_core/frontend/emulated_controller.cpp +++ b/src/hid_core/frontend/emulated_controller.cpp @@ -1285,9 +1285,7 @@ bool EmulatedController::SetVibration(DeviceIndex device_index, const VibrationV }; // Send vibrations to Android's input overlay - if (npad_id_type == NpadIdType::Handheld || npad_id_type == NpadIdType::Player1) { - output_devices[4]->SetVibration(status); - } + output_devices[4]->SetVibration(status); return output_devices[index]->SetVibration(status) == Common::Input::DriverResult::Success; } -- cgit v1.2.3