From ef416e84a1990f488ee879a8c3f5a2d09713e825 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 10 Dec 2025 09:55:44 -0800
Subject: [PATCH] Use SDL_LogDebug() for dumping HID packets
---
src/joystick/hidapi/SDL_hidapijoystick.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/joystick/hidapi/SDL_hidapijoystick.c b/src/joystick/hidapi/SDL_hidapijoystick.c
index 7ce481513011c..5cccbeff05e7d 100644
--- a/src/joystick/hidapi/SDL_hidapijoystick.c
+++ b/src/joystick/hidapi/SDL_hidapijoystick.c
@@ -157,7 +157,7 @@ void HIDAPI_DumpPacket(const char *prefix, const Uint8 *data, int size)
current_len += SDL_snprintf(&buffer[current_len], length - current_len, " 0x%.2x", data[i]);
}
SDL_strlcat(buffer, "\n", length);
- SDL_Log("%s", buffer);
+ SDL_LogDebug(SDL_LOG_CATEGORY_INPUT, "%s", buffer);
SDL_free(buffer);
}