38#define OCULUS_VR_VID 0x2833
40#define OCULUS_DK2_PID 0x0021
41#define OCULUS_DK2_SENSOR_PID 0x0201
42#define OCULUS_CV1_PID 0x0031
43#define OCULUS_CV1_SENSOR_PID 0x0211
45#define RIFT_DK2_PRODUCT_STRING "Rift DK2"
46#define RIFT_CV1_PRODUCT_STRING "Rift CV1"
66 enum rift_variant variant,
67 const char *serial_number,
73rift_get_radio_id(
struct rift_hmd *
hmd, uint8_t out_radio_id[5]);
76rift_hmd_frame_timestamp_callback(
void *user_data,
timepoint_ns *timestamp, uint32_t pts);
79rift_add_to_constellation_tracker(
struct rift_hmd *
hmd,
struct t_constellation_tracker *tracker);
int64_t timepoint_ns
Integer timestamp type.
Definition u_time.h:77
struct t_timing_event_source * rift_hmd_get_timing_event_source(struct rift_hmd *hmd)
Gets the HMD's timing event source.
Definition rift_driver.c:1174
int rift_devices_create(struct os_hid_device *hmd_dev, struct os_hid_device *radio_dev, enum rift_variant variant, const char *serial_number, struct xrt_frame_context *xfctx, struct rift_hmd **out_hmd, struct xrt_device **out_xdevs)
Creates Rift HMD and related devices.
Definition rift_driver.c:683
Representing a single hid interface on a device.
Definition os_hid.h:29
A rift HMD device.
Definition rift_internal.h:895
A time sync source is a component that generates timing events for an t_timing_event_sink to consume.
Definition t_time_sync.h:102
A single HMD or input device.
Definition xrt_device.h:311
struct xrt_hmd_parts * hmd
Null if this device does not interface with the users head.
Definition xrt_device.h:323
Object used to track all sinks and frame producers in a graph.
Definition xrt_frame.h:108
Header defining the constellation tracker parameters and functions.
Header defining interfaces for time synchronization in Monado.
Time-keeping: a clock that is steady, convertible to system time, and ideally high-resolution.
Common defines and enums for XRT.
Header defining an xrt display or controller device.
Common interface to probe for devices.