35 uint32_t in_xdev_count,
37 uint32_t *out_xdev_count);
xrt_result_t b_hand_tracker_create(struct xrt_system_devices *xsysd, const struct xrt_hand_tracker_create_info *info, struct xrt_hand_tracker **out_xht)
Create a base hand tracker from system devices.
xrt_result_t b_hand_tracker_create_with_cb(struct xrt_system_devices *xsysd, const struct xrt_hand_tracker_create_info *info, b_hand_tracker_get_devices_func_t get_devices, void *data, struct xrt_hand_tracker **out_xht)
Create a base hand tracker that uses a callback to provide other devices to try first.
xrt_result_t(* b_hand_tracker_get_devices_func_t)(enum xrt_input_name input_name, struct xrt_system_devices *xsysd, void *data, uint32_t in_xdev_count, struct xrt_device **out_xdevs, uint32_t *out_xdev_count)
Callback used by b_hand_tracker_create_with_cb to provide an ordered list of devices to try for input...
Definition b_hand_tracker.h:32
xrt_input_name
Every internal input source known to monado with a baked in type.
Definition xrt_defines.h:930
enum xrt_result xrt_result_t
Result type used across Monado.
A single HMD or input device.
Definition xrt_device.h:311
Creation parameters for xrt_hand_tracker.
Definition xrt_hand_tracker.h:35
A hand tracker that owns device/source selection policy.
Definition xrt_hand_tracker.h:76
A collection of xrt_device, and an interface for identifying the roles they have been assigned.
Definition xrt_system.h:215
Header defining xrt hand tracker.
Header for system objects.