|
Monado OpenXR Runtime
|
Interface to Oculus Rift driver code. More...

Go to the source code of this file.
Macros | |
| #define | OCULUS_VR_VID 0x2833 |
| #define | OCULUS_DK2_PID 0x0021 |
| #define | OCULUS_CV1_PID 0x0031 |
| #define | RIFT_DK2_PRODUCT_STRING "Rift DK2" |
| #define | RIFT_CV1_PRODUCT_STRING "Rift CV1" |
Enumerations | |
| enum | rift_variant { RIFT_VARIANT_DK1 , RIFT_VARIANT_DK2 , RIFT_VARIANT_CV1 } |
Functions | |
| 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. More... | |
| int | rift_devices_create (struct os_hid_device *dev, enum rift_variant variant, const char *device_name, const char *serial_number, struct rift_hmd **out_hmd, struct xrt_device **out_xdevs) |
Interface to Oculus Rift driver code.
| 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.
References xrt_prober::xrt_prober_get_string_descriptor().