diff --git a/src/input/input_handler.cpp b/src/input/input_handler.cpp index 1749ec356..f28111add 100644 --- a/src/input/input_handler.cpp +++ b/src/input/input_handler.cpp @@ -758,7 +758,7 @@ void ActivateOutputsFromInputs() { } u8 GetGamepadIndexFromJoystickId(SDL_JoystickID id) { - return SDL_GetGamepadPlayerIndex(SDL_GetGamepadFromID(id)); + return SDL_GetGamepadPlayerIndex(SDL_GetGamepadFromID(id)) + 1; } } // namespace Input