| 1093 | } |
| 1094 | |
| 1095 | int HID_API_EXPORT hid_read(hid_device *dev, unsigned char *data, size_t length) |
| 1096 | { |
| 1097 | return hid_read_timeout(dev, data, length, (dev->blocking)? -1: 0); |
| 1098 | } |
| 1099 | |
| 1100 | int HID_API_EXPORT hid_set_nonblocking(hid_device *dev, int nonblock) |
| 1101 | { |
nothing calls this directly
no test coverage detected