OSVR_ReturnCode osvrDeviceLocation2DReportData(OSVR_Location2D_DeviceInterface iface, OSVR_Location2DState locationData, OSVR_ChannelCount sensor, OSVR_TimeValue const *timestamp)
Report data for a specific sensor.
#define OSVR_PLUGIN_HANDLE_NULL_CONTEXT(FUNC, CONTEXT_NAME)
Internal macro for use in C API function implementations to check the validity of a context parameter...
OSVR_ReturnCode osvrDeviceLocation2DConfigure(OSVR_DeviceInitOptions opts, OSVR_Location2D_DeviceInterface *iface, OSVR_ChannelCount numSensors)
Specify that your device will implement the Location2D interface.