From d0580a11fa2fa715065e8285927a34150cb77a75 Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Mon, 9 Mar 2026 09:52:45 +0100 Subject: [PATCH] Revert conditionally omitting the initial user login event until the exact trigger requirements are found --- src/input/controller.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/input/controller.cpp b/src/input/controller.cpp index 3072db817..d4b2fe154 100644 --- a/src/input/controller.cpp +++ b/src/input/controller.cpp @@ -286,11 +286,7 @@ void GameControllers::TryOpenSDLControllers(GameControllers& controllers) { c->user_id = u ? u->user_id : ORBIS_USER_SERVICE_USER_ID_INVALID; slot_taken[i] = true; c->player_index = i; - if (i != 0 || (i == 0 && Common::ElfInfo::Instance() - .GetPSFAttributes() - .support_initial_user_logout.Value() == true)) { - AddUserServiceEvent({OrbisUserServiceEventType::Login, c->user_id}); - } + AddUserServiceEvent({OrbisUserServiceEventType::Login, c->user_id}); if (EmulatorSettings.IsMotionControlsEnabled()) { if (SDL_SetGamepadSensorEnabled(c->m_sdl_gamepad, SDL_SENSOR_GYRO, true)) { c->gyro_poll_rate = @@ -318,11 +314,7 @@ void GameControllers::TryOpenSDLControllers(GameControllers& controllers) { if (controller_count == 0) { auto u = UserManagement.GetUserByPlayerIndex(1); controllers[0]->user_id = u->user_id; - if (Common::ElfInfo::Instance() - .GetPSFAttributes() - .support_initial_user_logout.Value() == true) { - AddUserServiceEvent({OrbisUserServiceEventType::Login, controllers[0]->user_id}); - } + AddUserServiceEvent({OrbisUserServiceEventType::Login, controllers[0]->user_id}); } } SDL_free(new_joysticks);