Removed debug logging
parent
2c98c8af01
commit
2cc9176137
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue