The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+2 -2
+2 -2
src/xrt/auxiliary/vive/vive_poses.c
··· 138 138 struct xrt_pose *out_offset_pose) 139 139 { 140 140 switch (input_name) { 141 - case XRT_INPUT_HT_CONFORMING_LEFT: 141 + case XRT_INPUT_HT_CONFORMING_RIGHT: 142 142 vive_poses_get_index_hand_offset_pose(XRT_HAND_RIGHT, out_offset_pose); 143 143 return; 144 - case XRT_INPUT_HT_CONFORMING_RIGHT: 144 + case XRT_INPUT_HT_CONFORMING_LEFT: 145 145 vive_poses_get_index_hand_offset_pose(XRT_HAND_LEFT, out_offset_pose); 146 146 return; 147 147 default: break; // Go to code below.