| 211 | } |
| 212 | |
| 213 | int HID_API_EXPORT HID_API_CALL hid_set_nonblocking(hid_device *device, int nonblock) |
| 214 | { |
| 215 | switch ( GetAPIForDevice( device ) ) |
| 216 | { |
| 217 | case k_EHIDAPIRAW: |
| 218 | return HIDRAW::hid_set_nonblocking( (HIDRAW::hid_device*)device, nonblock ); |
| 219 | case k_EHIDAPIUSB: |
| 220 | return HIDUSB::hid_set_nonblocking( (HIDUSB::hid_device*)device, nonblock ); |
| 221 | default: |
| 222 | return -1; |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | int HID_API_EXPORT HID_API_CALL hid_send_feature_report(hid_device *device, const unsigned char *data, size_t length) |
| 227 | { |
nothing calls this directly
no test coverage detected