MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / hid_read

Function hid_read

lib/hidapi/windows/hid.c:1165–1168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1163}
1164
1165int HID_API_EXPORT HID_API_CALL hid_read(hid_device *dev, unsigned char *data, size_t length)
1166{
1167 return hid_read_timeout(dev, data, length, (dev->blocking)? -1: 0);
1168}
1169
1170int HID_API_EXPORT HID_API_CALL hid_set_nonblocking(hid_device *dev, int nonblock)
1171{

Callers

nothing calls this directly

Calls 1

hid_read_timeoutFunction · 0.70

Tested by

no test coverage detected