Header. More...
#include <osvr/PluginKit/DeviceInterfaceC.h>
#include <osvr/Util/ChannelCountC.h>
#include <osvr/Util/ClientReportTypesC.h>
Go to the source code of this file.
Typedefs | |
typedef struct OSVR_Location2D_DeviceInterfaceObject * | OSVR_Location2D_DeviceInterface |
Opaque type used in conjunction with a device token to send data on 2D Location interface. | |
Functions | |
OSVR_ReturnCode | osvrDeviceLocation2DConfigure (OSVR_DeviceInitOptions opts, OSVR_Location2D_DeviceInterface *iface, OSVR_ChannelCount numSensors=1) |
Specify that your device will implement the Location2D interface. More... | |
OSVR_ReturnCode | osvrDeviceLocation2DReportData (OSVR_Location2D_DeviceInterface iface, OSVR_Location2DState locationData, OSVR_ChannelCount sensor, OSVR_TimeValue const *timestamp) |
Report data for a specific sensor. More... | |