diff --git a/include/SpecialK/config.h b/include/SpecialK/config.h index 41c5a191c..b67a75776 100644 --- a/include/SpecialK/config.h +++ b/include/SpecialK/config.h @@ -1083,8 +1083,8 @@ struct sk_config_t bool native_ps4 = false; bool bt_input_only = false; float low_battery_percent = 25.0f; - float impulse_strength_l = 0.33f; - float impulse_strength_r = 0.33f; + float impulse_strength_l = 0.75f; + float impulse_strength_r = 0.75f; struct xinput_s { unsigned diff --git a/src/input/game_input.cpp b/src/input/game_input.cpp index 58589090a..572f9fb1a 100644 --- a/src/input/game_input.cpp +++ b/src/input/game_input.cpp @@ -1004,11 +1004,11 @@ SK_IGameInputDevice::SetRumbleState (GameInputRumbleParams const *params) noexce if (config.input.gamepad.xinput.emulate && (! config.input.gamepad.xinput.blackout_api) && (! SK_ImGui_WantGamepadCapture ())) { - float left = (params_.lowFrequency + params_.leftTrigger * config.input.gamepad.impulse_strength_l); - float right = (params_.highFrequency + params_.rightTrigger * config.input.gamepad.impulse_strength_r); - - if (params_.leftTrigger != 0 && params_.rightTrigger != 0) + if (params_.leftTrigger == 0 && params_.rightTrigger == 0) { + const float left = params_.lowFrequency; + const float right = params_.highFrequency; + SK_XInput_PulseController ( 0, std::clamp (left, 0.0f, 1.0f), std::clamp (right, 0.0f, 1.0f) ); }