| 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 | { |
| 228 | switch ( GetAPIForDevice( device ) ) |
| 229 | { |
| 230 | case k_EHIDAPIRAW: |
| 231 | return HIDRAW::hid_send_feature_report( (HIDRAW::hid_device*)device, data, length ); |
| 232 | case k_EHIDAPIUSB: |
| 233 | return HIDUSB::hid_send_feature_report( (HIDUSB::hid_device*)device, data, length ); |
| 234 | default: |
| 235 | return -1; |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | int HID_API_EXPORT HID_API_CALL hid_get_feature_report(hid_device *device, unsigned char *data, size_t length) |
| 240 | { |
nothing calls this directly
no test coverage detected