From 2cc91761375faea39901672951ce3746ea562e76 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 26 Sep 2022 18:52:26 -0700 Subject: [PATCH] Removed debug logging --- src/joystick/hidapi/SDL_hidapi_switch.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/joystick/hidapi/SDL_hidapi_switch.c b/src/joystick/hidapi/SDL_hidapi_switch.c index ab02a0147..5c542b3ff 100644 --- a/src/joystick/hidapi/SDL_hidapi_switch.c +++ b/src/joystick/hidapi/SDL_hidapi_switch.c @@ -1973,9 +1973,7 @@ static void HandleFullControllerState(SDL_Joystick *joystick, SDL_DriverSwitch_C } axis = packet->controllerState.rgucJoystickLeft[0] | ((packet->controllerState.rgucJoystickLeft[1] & 0xF) << 8); - SDL_Log("Raw: %d\n", axis); axis = ApplyStickCalibration(ctx, 0, 0, axis); - SDL_Log("Remapped: %d\n", axis); SDL_PrivateJoystickAxis(joystick, SDL_CONTROLLER_AXIS_LEFTX, axis); axis = ((packet->controllerState.rgucJoystickLeft[1] & 0xF0) >> 4) | (packet->controllerState.rgucJoystickLeft[2] << 4);