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

Function location2DCallback

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

printLocation2DReportFunction · 0.85

Tested by

no test coverage detected