d/multi: Use supplied pose input name enum

This commit is contained in:
Christoph Haag 2021-04-01 01:55:44 +02:00
parent e8b18131f3
commit 26d93c52df

View file

@ -141,7 +141,7 @@ get_hand_tracking(struct xrt_device *xdev,
struct xrt_device *tracker = d->tracking_override.tracker;
struct xrt_space_relation tracker_relation;
xrt_device_get_tracked_pose(tracker, XRT_INPUT_GENERIC_TRACKER_POSE, at_timestamp_ns, &tracker_relation);
xrt_device_get_tracked_pose(tracker, d->tracking_override.input_name, at_timestamp_ns, &tracker_relation);
switch (d->override_type) {