Monado OpenXR Runtime
|
Simple do-nothing simulated driver. More...
Files | |
file | simulated_controller.c |
Simulated controller device. | |
file | simulated_hmd.c |
Simulated HMD device. | |
file | simulated_interface.h |
Interface to simulated driver. | |
file | simulated_prober.c |
Simulated prober code. | |
Enumerations | |
enum | simulated_movement { SIMULATED_MOVEMENT_WOBBLE , SIMULATED_MOVEMENT_ROTATE , SIMULATED_MOVEMENT_STATIONARY } |
What type of movement should the simulated device do. More... | |
Functions | |
enum u_logging_level | simulated_log_level (void) |
Return the logging level that we want for the simulated related code. More... | |
struct xrt_auto_prober * | simulated_create_auto_prober (void) |
Create a auto prober for simulated devices. More... | |
struct xrt_device * | simulated_hmd_create (enum simulated_movement movement, const struct xrt_pose *center) |
Create a simulated hmd. More... | |
struct xrt_device * | simulated_create_controller (enum xrt_device_name name, enum xrt_device_type type, const struct xrt_pose *center, struct xrt_tracking_origin *origin) |
Create a simulated controller. More... | |
Simple do-nothing simulated driver.
enum simulated_movement |
#include <drivers/simulated/simulated_interface.h>
What type of movement should the simulated device do.
struct xrt_auto_prober * simulated_create_auto_prober | ( | void | ) |
#include <drivers/simulated/simulated_interface.h>
Create a auto prober for simulated devices.
References xrt_auto_prober::destroy, xrt_auto_prober::lelo_dallas_autoprobe, and U_TYPED_CALLOC.
struct xrt_device * simulated_create_controller | ( | enum xrt_device_name | name, |
enum xrt_device_type | type, | ||
const struct xrt_pose * | center, | ||
struct xrt_tracking_origin * | origin | ||
) |
#include <drivers/simulated/simulated_interface.h>
Create a simulated controller.
Supported configs:
struct xrt_device * simulated_hmd_create | ( | enum simulated_movement | movement, |
const struct xrt_pose * | center | ||
) |
#include <drivers/simulated/simulated_interface.h>
Create a simulated hmd.
enum u_logging_level simulated_log_level | ( | void | ) |
#include <drivers/simulated/simulated_interface.h>
Return the logging level that we want for the simulated related code.