mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
sinput: fix compiling with debug output on
This commit is contained in:
parent
5dc801506b
commit
2b94062482
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ static bool RetrieveSDLFeatures(SDL_HIDAPI_Device *device)
|
|||
}
|
||||
|
||||
#ifdef DEBUG_SINPUT_PROTOCOL
|
||||
HIDAPI_DumpPacket("SInput packet: size = %d", data, size);
|
||||
HIDAPI_DumpPacket("SInput packet: size = %d", data, read);
|
||||
#endif
|
||||
|
||||
if ((read == USB_PACKET_LENGTH) && (data[0] == SINPUT_DEVICE_REPORT_ID_INPUT_CMDDAT) && (data[1] == SINPUT_DEVICE_COMMAND_FEATURES)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue