mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Use SDL_LogDebug() for dumping HID packets
This commit is contained in:
parent
5bbf1dcb44
commit
ef416e84a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue