Monado OpenXR Runtime
r_hmd.c File Reference

HMD remote driver. More...

#include "r_internal.h"
#include "os/os_time.h"
#include "util/u_var.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_device.h"
#include "util/u_distortion_mesh.h"
#include "math/m_api.h"
#include "math/m_mathinclude.h"
#include <stdio.h>
Include dependency graph for r_hmd.c:

Functions

static struct r_hmdr_hmd (struct xrt_device *xdev)
 
static void copy_head_center_to_relation (struct r_hmd *rh, struct xrt_space_relation *out_relation)
 
static void r_hmd_destroy (struct xrt_device *xdev)
 
static void r_hmd_get_tracked_pose (struct xrt_device *xdev, enum xrt_input_name name, int64_t at_timestamp_ns, struct xrt_space_relation *out_relation)
 
static void r_hmd_get_hand_tracking (struct xrt_device *xdev, enum xrt_input_name name, int64_t at_timestamp_ns, struct xrt_hand_joint_set *out_value, int64_t *out_timestamp_ns)
 
static void r_hmd_get_view_poses (struct xrt_device *xdev, const struct xrt_vec3 *default_eye_relation, int64_t at_timestamp_ns, uint32_t view_count, struct xrt_space_relation *out_head_relation, struct xrt_fov *out_fovs, struct xrt_pose *out_poses)
 
static void r_hmd_set_output (struct xrt_device *xdev, enum xrt_output_name name, const union xrt_output_value *value)
 

Detailed Description

HMD remote driver.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m