a/vive: fix swapped hand orientations for LH based controllers

The roles/input name separation for hand-tracking
work made a mistake of swapping HT left/right
input names for vive pose offsets

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2523>
This commit is contained in:
Korcan Hussein committed 2025-07-10 15:52:53 +01:00
1 parent 45fd9e2af5
commit f75a1bd2b3
1 file changed
+1 -1
+1 -1
View File
@@ -375,7 +375,7 @@ vive_controller_get_hand_tracking(struct xrt_device *xdev,
struct vive_controller_device *d = vive_controller_device(xdev);
if (name != XRT_INPUT_HT_CONFORMING_LEFT && name != XRT_INPUT_HT_CONFORMING_LEFT) {
if (name != XRT_INPUT_HT_CONFORMING_LEFT && name != XRT_INPUT_HT_CONFORMING_RIGHT) {
U_LOG_XDEV_UNSUPPORTED_INPUT(&d->base, d->log_level, name);
return XRT_ERROR_INPUT_UNSUPPORTED;
}