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 2357fb5 commit 23cb76cCopy full SHA for 23cb76c
a
mac/hid.c
@@ -722,7 +722,7 @@ hid_device * HID_API_EXPORT hid_open_path(const char *path)
722
char str[32];
723
724
/* Create the buffers for receiving data */
725
- dev->max_input_report_len = (CFIndex) get_max_report_length(dev->device_handle);
+ dev->max_input_report_len = 64;
726
dev->input_report_buf = calloc(dev->max_input_report_len, sizeof(uint8_t));
727
728
/* Create the Run Loop Mode for this device.
0 commit comments