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

Function hid_read

deps/SDL2/src/hidapi/android/hid.cpp:1062–1066  ·  view source on GitHub ↗

TODO: Implement blocking

Source from the content-addressed store, hash-verified

1060
1061// TODO: Implement blocking
1062int HID_API_EXPORT HID_API_CALL hid_read(hid_device *device, unsigned char *data, size_t length)
1063{
1064 LOGV( "hid_read id=%d length=%u", device->m_nId, length );
1065 return hid_read_timeout( device, data, length, 0 );
1066}
1067
1068// TODO: Implement?
1069int HID_API_EXPORT HID_API_CALL hid_set_nonblocking(hid_device *device, int nonblock)

Callers

nothing calls this directly

Calls 1

hid_read_timeoutFunction · 0.70

Tested by

no test coverage detected