| 40 | } |
| 41 | |
| 42 | void 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 | |
| 50 | int main() { |
| 51 | osvr::clientkit::ClientContext context( |
nothing calls this directly
no test coverage detected