MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / main

Function main

cmake/CheckMacHIDAPI.cpp:34–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32#endif
33
34int main(int argc, char* argv[]) {
35#if defined(__APPLE__)
36 io_object_t _ioObject;
37 IOHIDDeviceInterface122 **_interface;
38 unsigned char _buffer[512];
39 IOReturn result = (*_interface)->setInterruptReportHandlerCallback(_interface,
40 _buffer, 512,
41 ReaderReportCallback,
42 NULL, 0);
43#endif
44 return 0;
45}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected