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

Function osvrDeviceButtonSetValue

src/osvr/PluginKit/ButtonInterfaceC.cpp:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58OSVR_ReturnCode osvrDeviceButtonSetValue(OSVR_IN_PTR OSVR_DeviceToken dev,
59 OSVR_IN_PTR OSVR_ButtonDeviceInterface
60 iface,
61 OSVR_IN OSVR_ButtonState val,
62 OSVR_IN OSVR_ChannelCount chan) {
63 OSVR_TimeValue now;
64 osvrTimeValueGetNow(&now);
65 return osvrDeviceButtonSetValueTimestamped(dev, iface, val, chan, &now);
66}
67
68OSVR_ReturnCode osvrDeviceButtonSetValueTimestamped(
69 OSVR_IN_PTR OSVR_DeviceToken, OSVR_IN_PTR OSVR_ButtonDeviceInterface iface,

Callers 1

updateMethod · 0.85

Calls 2

osvrTimeValueGetNowFunction · 0.85

Tested by

no test coverage detected