From 8f8106470359a49fcc00381e596da0d741c577e4 Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Sat, 14 Mar 2026 15:31:50 +0100 Subject: [PATCH] remove debug logging --- src/core/libraries/move/move.cpp | 4 ++-- src/sdl_window.cpp | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/core/libraries/move/move.cpp b/src/core/libraries/move/move.cpp index c92e814b0..d522cac77 100644 --- a/src/core/libraries/move/move.cpp +++ b/src/core/libraries/move/move.cpp @@ -78,7 +78,7 @@ s32 PS4_SYSV_ABI sceMoveReadStateLatest(s32 handle, OrbisMoveData* data) { if (!controllers.moves(0)->m_sdl_gamepad) { return ORBIS_MOVE_ERROR_NO_CONTROLLER_CONNECTED; } - // LOG_INFO(Lib_Move, "called"); + LOG_DEBUG(Lib_Move, "called"); auto m = controllers.moves(0); Input::State s{}; bool connected; @@ -127,7 +127,7 @@ s32 PS4_SYSV_ABI sceMoveSetVibration(s32 handle, u8 intensity) { } s32 PS4_SYSV_ABI sceMoveSetLightSphere(s32 handle, u8 red, u8 green, u8 blue) { - LOG_TRACE(Lib_Move, "called"); + LOG_DEBUG(Lib_Move, "called"); if (!g_library_initialized) { return ORBIS_MOVE_ERROR_NOT_INIT; } diff --git a/src/sdl_window.cpp b/src/sdl_window.cpp index 5dce6d72c..e85e75c0e 100644 --- a/src/sdl_window.cpp +++ b/src/sdl_window.cpp @@ -81,7 +81,6 @@ static Uint32 SDLCALL PollController(void* userdata, SDL_TimerID timer_id, Uint3 static Uint32 SDLCALL PollControllerLightColour(void* userdata, SDL_TimerID timer_id, Uint32 interval) { auto* controller = reinterpret_cast(userdata); - LOG_INFO(Input, "called"); controller->PollLightColour(); return interval; } @@ -382,10 +381,6 @@ void WindowSDL::OnGamepadEvent(const SDL_Event* event) { } else { gamepad = controllers.GetMoveIndexFromJoystickId(event->gsensor.which); if (gamepad < 4) { - // LOG_INFO(Input, "gyro: {:+05.0f} {:+05.0f} {:+05.0f}", - // *reinterpret_cast(&event->gsensor.data[0]) / 256, - // *reinterpret_cast(&event->gsensor.data[1]) / 256, - // *reinterpret_cast(&event->gsensor.data[2]) / 256); controllers.moves(gamepad)->UpdateGyro(event->gsensor.data); } }