From 33a74c7548166bfe630623093f7f9346e558b80d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 25 Sep 2025 07:31:07 -0700 Subject: [PATCH] Fixed typo --- src/joystick/hidapi/SDL_hidapi_switch2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/hidapi/SDL_hidapi_switch2.c b/src/joystick/hidapi/SDL_hidapi_switch2.c index 76b5c99afe..1eb39bcc2c 100644 --- a/src/joystick/hidapi/SDL_hidapi_switch2.c +++ b/src/joystick/hidapi/SDL_hidapi_switch2.c @@ -404,7 +404,7 @@ static bool HIDAPI_DriverSwitch2_InitUSB(SDL_HIDAPI_Device *device) } else { res = RecvBulkData(ctx, calibration_data, sizeof(calibration_data)); if (res < 0) { - SDL_LogWarn(SDL_LOG_CATEGORY_INPUT, "Couldn't request user calibration data: %d", res); + SDL_LogWarn(SDL_LOG_CATEGORY_INPUT, "Couldn't read user calibration data: %d", res); } else if (calibration_data[0x10] == 0xb2 && calibration_data[0x11] == 0xa1) { ParseStickCalibration(&ctx->left_stick, &calibration_data[0x12]); }