33#define OCULUS_VR_VID 0x2833
35#define OCULUS_DK2_PID 0x0021
36#define OCULUS_DK2_SENSOR_PID 0x0201
37#define OCULUS_CV1_PID 0x0031
38#define OCULUS_CV1_SENSOR_PID 0x0211
40#define RIFT_DK2_PRODUCT_STRING "Rift DK2"
41#define RIFT_CV1_PRODUCT_STRING "Rift CV1"
71 enum rift_variant variant,
72 const char *serial_number,
77rift_get_radio_id(
struct rift_hmd *
hmd, uint8_t out_radio_id[5]);
80rift_hmd_frame_timestamp_callback(
void *user_data,
timepoint_ns *timestamp, uint32_t pts);
int64_t timepoint_ns
Integer timestamp type.
Definition u_time.h:77
int rift_found(struct xrt_prober *xp, struct xrt_prober_device **devices, size_t device_count, size_t index, cJSON *attached_data, struct xrt_device **out_xdev)
Probing function for Oculus Rift devices.
Definition rift_prober.c:48
bool rift_is_oculus(struct xrt_prober *xp, struct xrt_prober_device *dev)
Checks whether the given device is an Oculus device, by checking the manufacturer string.
Definition rift_prober.c:29
Representing a single hid interface on a device.
Definition os_hid.h:29
A rift HMD device.
Definition rift_internal.h:825
A single HMD or input device.
Definition xrt_device.h:310
struct xrt_hmd_parts * hmd
Null if this device does not interface with the users head.
Definition xrt_device.h:322
A probed device, may or may not be opened.
Definition xrt_prober.h:88
The main prober that probes and manages found but not opened HMD devices that are connected to the sy...
Definition xrt_prober.h:135
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.