26 #ifndef INCLUDED_DirectionInterfaceC_h_GUID_5F33787D_F830_4C8F_D066_B649857F3395
27 #define INCLUDED_DirectionInterfaceC_h_GUID_5F33787D_F830_4C8F_D066_B649857F3395
51 typedef struct OSVR_DirectionDeviceInterfaceObject
69 OSVR_FUNC_NONNULL((1, 2));
82 OSVR_IN_PTR
OSVR_TimeValue const *timestamp) OSVR_FUNC_NONNULL((1, 4));
87 #endif // INCLUDED_DirectionInterfaceC_h_GUID_5F33787D_F830_4C8F_D066_B649857F3395
uint32_t OSVR_ChannelCount
The integer type specifying a number of channels/sensors or a channel/sensor index.
A structure defining a 3D vector, often a position/translation.
struct OSVR_DeviceInitObject * OSVR_DeviceInitOptions
Opaque type of a device initialization object.
OSVR_ReturnCode osvrDeviceDirectionReportData(OSVR_DirectionDeviceInterface iface, OSVR_DirectionState directionData, OSVR_ChannelCount sensor, OSVR_TimeValue const *timestamp)
Report data for a specific sensor.
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
OSVR_ReturnCode osvrDeviceDirectionConfigure(OSVR_DeviceInitOptions opts, OSVR_DirectionDeviceInterface *iface, OSVR_ChannelCount numSensors=1)
Specify that your device will implement the Direction interface.
struct OSVR_DirectionDeviceInterfaceObject * OSVR_DirectionDeviceInterface
Opaque type used in conjunction with a device token to send data on 3D Direction interface.