diff --git a/Source/Engine/Input/Input.cpp b/Source/Engine/Input/Input.cpp index 10888bb99..93e18e563 100644 --- a/Source/Engine/Input/Input.cpp +++ b/Source/Engine/Input/Input.cpp @@ -508,11 +508,14 @@ float Input::GetGamepadAxis(InputGamepadIndex gamepad, GamepadAxis axis) { if (gamepad == InputGamepadIndex::All) { + float val = 0; for (auto g : Gamepads) { - if (g->GetAxis(axis)) - return true; + val += g->GetAxis(axis); + if(val >= 1) + return 1; } + return val; } else {