MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / hid_read

Function hid_read

dependencies/hidapi/hidapi.c:1030–1033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1028}
1029
1030int HID_API_EXPORT hid_read(hid_device *dev, unsigned char *data, size_t length)
1031{
1032 return hid_read_timeout(dev, data, length, dev->blocking ? -1 : 0);
1033}
1034
1035int HID_API_EXPORT hid_set_nonblocking(hid_device *dev, int nonblock)
1036{

Callers 15

SendEnableCommandMethod · 0.85
SendApplyCommandMethod · 0.85
SendDirectPacketMethod · 0.85
razer_usb_receiveMethod · 0.85
GetFirmwareVersionMethod · 0.85
GetFirmwareVersionMethod · 0.85
SendCommandMethod · 0.85
SendFirmwareRequestMethod · 0.85
SendKeyboardBeginMethod · 0.85
SendKeyboardEndMethod · 0.85
SendKeyboardDataMethod · 0.85

Calls 1

hid_read_timeoutFunction · 0.85

Tested by

no test coverage detected