Skip to content

Commit

Permalink
Remove superfluous code from GameInput SetRumble (...)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaldaien committed Nov 30, 2024
1 parent 401d0e0 commit 372b3a7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/input/game_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -996,12 +996,6 @@ SK_IGameInputDevice::SetRumbleState (GameInputRumbleParams const *params) noexce

GameInputRumbleParams params_ = *params;

if (config.input.gamepad.disable_rumble)
{
SK_XInput_ZeroHaptics (0);
return;
}

if (config.input.gamepad.xinput.emulate && (! config.input.gamepad.xinput.blackout_api) && (! SK_ImGui_WantGamepadCapture ()))
{
if (params_.leftTrigger == 0 && params_.rightTrigger == 0)
Expand Down

0 comments on commit 372b3a7

Please sign in to comment.