This commit is contained in:
kalaposfos13 2025-02-27 18:30:56 +01:00
parent a2264e9bd0
commit c9ece44207

View file

@ -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