MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / hid_send_feature_report

Function hid_send_feature_report

deps/SDL2/src/hidapi/linux/hid.cpp:226–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226int 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
239int HID_API_EXPORT HID_API_CALL hid_get_feature_report(hid_device *device, unsigned char *data, size_t length)
240{

Callers

nothing calls this directly

Calls 1

GetAPIForDeviceFunction · 0.85

Tested by

no test coverage detected