mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
d/multi: Use supplied pose input name enum
This commit is contained in:
parent
e8b18131f3
commit
26d93c52df
|
@ -141,7 +141,7 @@ get_hand_tracking(struct xrt_device *xdev,
|
||||||
|
|
||||||
struct xrt_device *tracker = d->tracking_override.tracker;
|
struct xrt_device *tracker = d->tracking_override.tracker;
|
||||||
struct xrt_space_relation tracker_relation;
|
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) {
|
switch (d->override_type) {
|
||||||
|
|
Loading…
Reference in a new issue