MCPcopy Create free account
hub / github.com/360Controller/360Controller / SerialMessage

Method SerialMessage

360Controller/_60Controller.cpp:1070–1078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1068}
1069
1070void Xbox360Peripheral::SerialMessage(IOBufferMemoryDescriptor *data, size_t length)
1071{
1072 if (serialHandler != NULL)
1073 {
1074 char *buffer = (char*)data->getBytesNoCopy();
1075 if ((length == 5) && (buffer[0] == 0x00))
1076 serialHandler->handleReport(data, kIOHIDReportTypeInput);
1077 }
1078}

Callers

nothing calls this directly

Calls 1

handleReportMethod · 0.45

Tested by

no test coverage detected