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

Function hid_set_nonblocking

lib/hidapi/mac/hid.c:1325–1331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1323}
1324
1325int HID_API_EXPORT hid_set_nonblocking(hid_device *dev, int nonblock)
1326{
1327 /* All Nonblocking operation is handled by the library. */
1328 dev->blocking = !nonblock;
1329
1330 return 0;
1331}
1332
1333int HID_API_EXPORT hid_send_feature_report(hid_device *dev, const unsigned char *data, size_t length)
1334{

Callers 3

mainFunction · 0.50
onConnectMethod · 0.50
openMethod · 0.50

Calls

no outgoing calls

Tested by 2

mainFunction · 0.40
onConnectMethod · 0.40