We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04899f commit 352dbafCopy full SHA for 352dbaf
src/joystick/hidapi/SDL_hidapi_sinput.c
@@ -390,7 +390,7 @@ static bool RetrieveSDLFeatures(SDL_HIDAPI_Device *device)
390
}
391
392
#ifdef DEBUG_SINPUT_PROTOCOL
393
- HIDAPI_DumpPacket("SInput packet: size = %d", data, size);
+ HIDAPI_DumpPacket("SInput packet: size = %d", data, read);
394
#endif
395
396
if ((read == USB_PACKET_LENGTH) && (data[0] == SINPUT_DEVICE_REPORT_ID_INPUT_CMDDAT) && (data[1] == SINPUT_DEVICE_COMMAND_FEATURES)) {
0 commit comments