remove debug logging

This commit is contained in:
kalaposfos13 2026-03-14 15:31:50 +01:00
parent 9322cc5941
commit 8f81064703
2 changed files with 2 additions and 7 deletions

View File

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

View File

@ -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<Input::GameController*>(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<f32 const*>(&event->gsensor.data[0]) / 256,
// *reinterpret_cast<f32 const*>(&event->gsensor.data[1]) / 256,
// *reinterpret_cast<f32 const*>(&event->gsensor.data[2]) / 256);
controllers.moves(gamepad)->UpdateGyro(event->gsensor.data);
}
}