26 #ifndef INCLUDED_Location2DInterfaceC_h_GUID_CE39188E_A47A_4085_DAFB_80AB43571F0A
27 #define INCLUDED_Location2DInterfaceC_h_GUID_CE39188E_A47A_4085_DAFB_80AB43571F0A
51 typedef struct OSVR_Location2D_DeviceInterfaceObject
69 OSVR_FUNC_NONNULL((1, 2));
81 OSVR_IN_PTR
OSVR_TimeValue const *timestamp) OSVR_FUNC_NONNULL((1, 4));
86 #endif // INCLUDED_Location2DInterfaceC_h_GUID_CE39188E_A47A_4085_DAFB_80AB43571F0A
uint32_t OSVR_ChannelCount
The integer type specifying a number of channels/sensors or a channel/sensor index.
OSVR_ReturnCode osvrDeviceLocation2DReportData(OSVR_Location2D_DeviceInterface iface, OSVR_Location2DState locationData, OSVR_ChannelCount sensor, OSVR_TimeValue const *timestamp)
Report data for a specific sensor.
A structure defining a 2D vector, which represents position.
OSVR_ReturnCode osvrDeviceLocation2DConfigure(OSVR_DeviceInitOptions opts, OSVR_Location2D_DeviceInterface *iface, OSVR_ChannelCount numSensors=1)
Specify that your device will implement the Location2D interface.
struct OSVR_DeviceInitObject * OSVR_DeviceInitOptions
Opaque type of a device initialization object.
struct OSVR_Location2D_DeviceInterfaceObject * OSVR_Location2D_DeviceInterface
Opaque type used in conjunction with a device token to send data on 2D Location interface.
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...