MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / HID_API_CALL hid_error

Function HID_API_CALL hid_error

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

Source from the content-addressed store, hash-verified

318}
319
320HID_API_EXPORT const wchar_t* HID_API_CALL hid_error(hid_device *device)
321{
322 switch ( GetAPIForDevice( device ) )
323 {
324 case k_EHIDAPIRAW:
325 return HIDRAW::hid_error( (HIDRAW::hid_device*)device );
326 case k_EHIDAPIUSB:
327 return HIDUSB::hid_error( (HIDUSB::hid_device*)device );
328 default:
329 return NULL;
330 }
331}
332
333}

Callers

nothing calls this directly

Calls 2

GetAPIForDeviceFunction · 0.85
hid_errorFunction · 0.70

Tested by

no test coverage detected