From 241c8e00779e451aeb216d1deabb9e6f23739f1f Mon Sep 17 00:00:00 2001 From: raziel1000 Date: Mon, 24 Jun 2024 00:53:15 -0600 Subject: [PATCH] - vibration only when we are actually using a gamepad, will make it better later :p --- src/core/libraries/pad/pad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/libraries/pad/pad.cpp b/src/core/libraries/pad/pad.cpp index 755c351e0..d6110703f 100644 --- a/src/core/libraries/pad/pad.cpp +++ b/src/core/libraries/pad/pad.cpp @@ -489,7 +489,7 @@ int PS4_SYSV_ABI scePadSetVibration(s32 handle, const OrbisPadVibrationParam* pP auto* controller = Common::Singleton::Instance(); u16 smallFreq = (u16)(((float)pParam->smallMotor / 255.0f) * 65535.0f); u16 bigFreq = (u16)(((float)pParam->largeMotor / 255.0f) * 65535.0f); - result = controller->GetRumble(smallFreq, bigFreq); + result = (Config::getControllerType() == 1) ? controller->GetRumble(smallFreq, bigFreq) : 0; } return result; }