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

Function eyeTracker2DCallback

examples/clients/EyeTracker.cpp:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void eyeTracker2DCallback(void * /*userdata*/,
62 const OSVR_TimeValue * /*timestamp*/,
63 const OSVR_EyeTracker2DReport *report) {
64 std::cout << "Got 2D Eye Tracker Report: for sensor #" << report->sensor
65 << std::endl;
66 printEyeTracker2DReport(report);
67}
68
69void eyeTracker3DCallback(void * /*userdata*/,
70 const OSVR_TimeValue * /*timestamp*/,

Callers

nothing calls this directly

Calls 1

printEyeTracker2DReportFunction · 0.85

Tested by

no test coverage detected