| 237 | } |
| 238 | |
| 239 | int HID_API_EXPORT HID_API_CALL hid_get_feature_report(hid_device *device, unsigned char *data, size_t length) |
| 240 | { |
| 241 | switch ( GetAPIForDevice( device ) ) |
| 242 | { |
| 243 | case k_EHIDAPIRAW: |
| 244 | return HIDRAW::hid_get_feature_report( (HIDRAW::hid_device*)device, data, length ); |
| 245 | case k_EHIDAPIUSB: |
| 246 | return HIDUSB::hid_get_feature_report( (HIDUSB::hid_device*)device, data, length ); |
| 247 | default: |
| 248 | return -1; |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | void HID_API_EXPORT HID_API_CALL hid_close(hid_device *device) |
| 253 | { |
nothing calls this directly
no test coverage detected