|
Monado OpenXR Runtime
|
Interface to Oculus Rift driver code. More...
#include "xrt/xrt_device.h"#include "xrt/xrt_defines.h"#include "xrt/xrt_prober.h"#include "os/os_hid.h"#include "os/os_threading.h"#include "util/u_device.h"#include "util/u_logging.h"#include "math/m_imu_3dof.h"#include "math/m_api.h"#include "math/m_mathinclude.h"#include <stdlib.h>#include <stdio.h>
Go to the source code of this file.
Data Structures | |
| struct | rift_config_report |
| struct | rift_display_info_report |
| struct | rift_catmull_rom_distortion_report_data |
| struct | rift_lens_distortion_report |
| struct | dk2_report_keepalive_mux |
| struct | rift_display_report |
| struct | dk2_sensor_sample |
| struct | dk2_sample_pack |
| struct | dk2_in_report |
| struct | rift_catmull_rom_distortion_data |
| struct | rift_lens_distortion |
| struct | rift_scale_and_offset |
| struct | rift_viewport_fov_tan |
| struct | rift_extra_display_info |
| struct | rift_hmd |
| A rift HMD device. More... | |
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... | |
| static struct rift_hmd * | rift_hmd (struct xrt_device *xdev) |
| Casting helper function. More... | |
| struct rift_hmd * | rift_hmd_create (struct os_hid_device *dev, enum rift_variant variant, char *device_name, char *serial_number) |
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().
|
inlinestatic |
Casting helper function.