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

Function myAnalogCallback

examples/clients/AnalogCallback.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33#include <iostream>
34
35void myAnalogCallback(void * /*userdata*/, const OSVR_TimeValue * /*timestamp*/,
36 const OSVR_AnalogReport *report) {
37 std::cout << "Got report: channel is " << report->state << std::endl;
38}
39
40int main() {
41 osvr::clientkit::ClientContext context(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected