26 #ifndef INCLUDED_LocomotionInterfaceC_h_GUID_2458F99D_C36A_4F92_93A4_ABFD224F74AB
27 #define INCLUDED_LocomotionInterfaceC_h_GUID_2458F99D_C36A_4F92_93A4_ABFD224F74AB
51 typedef struct OSVR_LocomotionDeviceInterfaceObject
68 OSVR_FUNC_NONNULL((1, 2));
82 OSVR_IN_PTR
OSVR_TimeValue const *timestamp) OSVR_FUNC_NONNULL((1, 4));
96 OSVR_IN_PTR
OSVR_TimeValue const *timestamp) OSVR_FUNC_NONNULL((1, 4));
102 #endif // INCLUDED_LocomotionInterfaceC_h_GUID_2458F99D_C36A_4F92_93A4_ABFD224F74AB
uint32_t OSVR_ChannelCount
The integer type specifying a number of channels/sensors or a channel/sensor index.
struct OSVR_LocomotionDeviceInterfaceObject * OSVR_LocomotionDeviceInterface
Opaque type used in conjunction with a device token to send data on Locomotion Interface.
OSVR_ReturnCode osvrDeviceLocomotionReportNaviVelocity(OSVR_LocomotionDeviceInterface iface, OSVR_NaviVelocityState naviVelocity, OSVR_ChannelCount sensor, OSVR_TimeValue const *timestamp)
Report velocity data for a specific sensor.
A structure defining a 2D vector, which represents position.
struct OSVR_DeviceInitObject * OSVR_DeviceInitOptions
Opaque type of a device initialization object.
OSVR_ReturnCode osvrDeviceLocomotionConfigure(OSVR_DeviceInitOptions opts, OSVR_LocomotionDeviceInterface *iface)
Specify that your device will implement the Locomotion interface.
OSVR_ReturnCode osvrDeviceLocomotionReportNaviPosition(OSVR_LocomotionDeviceInterface iface, OSVR_NaviPositionState naviPosition, OSVR_ChannelCount sensor, OSVR_TimeValue const *timestamp)
Report position data for a specific sensor.
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...