| 1163 | } |
| 1164 | |
| 1165 | int 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 | |
| 1170 | int HID_API_EXPORT HID_API_CALL hid_set_nonblocking(hid_device *dev, int nonblock) |
| 1171 | { |
nothing calls this directly
no test coverage detected