Update Monado

This commit is contained in:
Patrick Nicolas
2025-08-06 17:27:46 +02:00
parent 89c5921fc8
commit d624f74f83
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
# Keep in sync with CMakeLists.txt monado rev
rev = builtins.readFile ./monado-rev;
# Nix will output the correct hash when it doesn't match
hash = "sha256-QscyxJ0XtWDtyKUIEiM0iVJLTfO1QjiSr5c94FGjai4=";
hash = "sha256-zYvfQmGLRpKEHRih0DPduLRgjSrxeaEGVNEER+OoV0Y=";
};
};
+1 -1
View File
@@ -1 +1 @@
74725a28889677be718991c0f135a43c7573bc78
105abaa0030167bf2f7fc635efa74698083cb2f8
+4 -4
View File
@@ -177,11 +177,11 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
static_roles.face = &hmd;
roles.left = left_controller_index = xdev_count++;
static_roles.hand_tracking.left = xdevs[left_controller_index] = &left_controller;
static_roles.hand_tracking.unobstructed.left = xdevs[left_controller_index] = &left_controller;
xdevs[left_hand_interaction_index = xdev_count++] = &left_hand_interaction;
roles.right = right_controller_index = xdev_count++;
static_roles.hand_tracking.right = xdevs[right_controller_index] = &right_controller;
static_roles.hand_tracking.unobstructed.right = xdevs[right_controller_index] = &right_controller;
xdevs[right_hand_interaction_index = xdev_count++] = &right_hand_interaction;
#if WIVRN_FEATURE_STEAMVR_LIGHTHOUSE
@@ -197,11 +197,11 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
{
case XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER:
roles.left = xdev_count;
static_roles.hand_tracking.left = lhdev;
static_roles.hand_tracking.unobstructed.left = lhdev; // FIXME: certainly wrong
break;
case XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER:
roles.right = xdev_count;
static_roles.hand_tracking.right = lhdev;
static_roles.hand_tracking.unobstructed.right = lhdev; // FIXME: certainly wrong
break;
default:
break;