MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / hid_get_feature_report

Function hid_get_feature_report

lib/sdl2/src/hidapi/linux/hid.cpp:239–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239int 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
252void HID_API_EXPORT HID_API_CALL hid_close(hid_device *device)
253{

Callers

nothing calls this directly

Calls 1

GetAPIForDeviceFunction · 0.85

Tested by

no test coverage detected