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

Function directionCallback

examples/clients/Direction.cpp:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void directionCallback(void * /*userdata*/,
43 const OSVR_TimeValue * /*timestamp*/,
44 const OSVR_DirectionReport *report) {
45 std::cout << "Got 3D direction Report, for sensor #" << report->sensor
46 << std::endl;
47 printDirectionReport(report);
48}
49
50int main() {
51 osvr::clientkit::ClientContext context(

Callers

nothing calls this directly

Calls 1

printDirectionReportFunction · 0.85

Tested by

no test coverage detected