Helpers for xrt_builder implementations.
More...
|
| void | t_builder_create_space_overseer_legacy (struct xrt_session_event_sink *broadcast, struct xrt_device *head, struct xrt_device *eyes, struct xrt_device *left, struct xrt_device *right, struct xrt_device *gamepad, struct xrt_device **xdevs, uint32_t xdev_count, bool root_is_unbounded, bool per_app_local_spaces, struct xrt_space_overseer **out_xso) |
| | Create a legacy space overseer, most builders probably want to have a more advanced setup then this, especially stand alone ones.
|
| |
| xrt_result_t | t_builder_roles_helper_open_system (struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_session_event_sink *broadcast, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso, t_builder_open_system_fn fn) |
| | Helper to create a system devices that has static roles and a appropriate space overseer.
|
| |
| xrt_result_t | t_builder_open_system_static_roles (struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_session_event_sink *broadcast, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso) |
| | Implementation for xrt_builder::open_system to be used with t_builder.
|
| |
◆ U_SET_HT_ROLE
| #define U_SET_HT_ROLE |
( |
|
SRC | ) |
|
Value: xsysd->static_roles.hand_tracking.SRC.left = tbrh.hand_tracking.SRC.left; \
xsysd->static_roles.hand_tracking.SRC.right = tbrh.hand_tracking.SRC.right;