|
Monado OpenXR Runtime
|
Interface to Blubur S1 driver code. More...

Go to the source code of this file.
Macros | |
| #define | BLUBUR_S1_VID 0x2b1c |
| #define | BLUBUR_S1_PID 0x0001 |
Functions | |
| int | blubur_s1_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 Blubur S1 devices. | |
| struct blubur_s1_hmd * | blubur_s1_hmd_create (struct os_hid_device *dev, const char *serial) |
| Creates a Blubur S1 HMD device from an opened HID handle. | |
Interface to Blubur S1 driver code.
| int blubur_s1_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 Blubur S1 devices.
References blubur_s1_hmd_create(), xrt_prober_device::product_id, and xrt_prober_device::vendor_id.
| struct blubur_s1_hmd * blubur_s1_hmd_create | ( | struct os_hid_device * | dev, |
| const char * | serial | ||
| ) |
Creates a Blubur S1 HMD device from an opened HID handle.
References ARRAY_SIZE, xrt_device::binding_profile_count, xrt_hmd_parts::blend_modes, xrt_device::compute_distortion, xrt_device::destroy, xrt_hmd_parts::distortion, xrt_device::get_presence, xrt_device::get_tracked_pose, xrt_device::get_view_poses, xrt_device::hmd, xrt_device::inputs, xrt_hmd_parts::models, xrt_device::name, xrt_hmd_parts::nominal_frame_interval_ns, xrt_hmd_parts::preferred, xrt_hmd_parts::screens, xrt_device::serial, xrt_device::str, xrt_device::supported, u_distortion_mesh_fill_in_compute(), u_var_add_root(), xrt_device::update_inputs, xrt_view::viewport, xrt_hmd_parts::views, and XRT_INPUT_GENERIC_HEAD_POSE.
Referenced by blubur_s1_found().