| 36 | #include <stdio.h> |
| 37 | |
| 38 | void myButtonCallback(void *userdata, const OSVR_TimeValue *timestamp, |
| 39 | const OSVR_ButtonReport *report) { |
| 40 | printf("Got report: button is %s\n", |
| 41 | (report->state ? "pressed" : "released")); |
| 42 | } |
| 43 | |
| 44 | int main() { |
| 45 | OSVR_ClientContext ctx = |
nothing calls this directly
no outgoing calls
no test coverage detected