Monado OpenXR Runtime
oxr_xdev.c File Reference

Various helpers for accessing xrt_device. More...

#include "os/os_time.h"
#include "math/m_api.h"
#include "math/m_space.h"
#include "util/u_time.h"
#include "util/u_misc.h"
#include "oxr_objects.h"
#include <assert.h>
Include dependency graph for oxr_xdev.c:

Functions

void oxr_xdev_destroy (struct xrt_device **xdev_ptr)
 
void oxr_xdev_update (struct xrt_device *xdev)
 
bool oxr_xdev_find_input (struct xrt_device *xdev, enum xrt_input_name name, struct xrt_input **out_input)
 Return true if it finds an input of that name on this device. More...
 
bool oxr_xdev_find_output (struct xrt_device *xdev, enum xrt_output_name name, struct xrt_output **out_output)
 Return true if it finds an output of that name on this device. More...
 
void oxr_xdev_get_hand_tracking_at (struct oxr_logger *log, struct oxr_instance *inst, struct xrt_device *xdev, enum xrt_input_name name, XrTime at_time, struct xrt_hand_joint_set *out_value)
 Returns the hand tracking value of the named input from the device. More...
 

Detailed Description

Various helpers for accessing xrt_device.

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