MCPcopy Create free account
hub / github.com/Atarity/Lightpack / hid_read

Function hid_read

Software/src/hidapi/linux/hid-libusb.c:1032–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1030}
1031
1032int HID_API_EXPORT hid_read(hid_device *dev, unsigned char *data, size_t length)
1033{
1034 return hid_read_timeout(dev, data, length, dev->blocking ? -1 : 0);
1035}
1036
1037int HID_API_EXPORT hid_set_nonblocking(hid_device *dev, int nonblock)
1038{

Callers

nothing calls this directly

Calls 1

hid_read_timeoutFunction · 0.70

Tested by

no test coverage detected