Monado OpenXR Runtime
r_device.c File Reference

Controller 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_hand_tracking.h"
#include "vive/vive_bindings.h"
#include "math/m_api.h"
#include "util/u_hand_simulation.h"
#include <stdio.h>
Include dependency graph for r_device.c:

Functions

static struct r_devicer_device (struct xrt_device *xdev)
 
static void r_device_destroy (struct xrt_device *xdev)
 
static xrt_result_t r_device_update_inputs (struct xrt_device *xdev)
 
static xrt_result_t r_device_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_device_get_hand_tracking (struct xrt_device *xdev, enum xrt_input_name name, int64_t requested_timestamp_ns, struct xrt_hand_joint_set *out_value, int64_t *out_timestamp_ns)
 
static void r_device_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_device_set_output (struct xrt_device *xdev, enum xrt_output_name name, const union xrt_output_value *value)
 

Detailed Description

Controller remote driver.

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