Update Monado
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
# Keep in sync with CMakeLists.txt monado rev
|
# Keep in sync with CMakeLists.txt monado rev
|
||||||
rev = builtins.readFile ./monado-rev;
|
rev = builtins.readFile ./monado-rev;
|
||||||
# Nix will output the correct hash when it doesn't match
|
# Nix will output the correct hash when it doesn't match
|
||||||
hash = "sha256-QscyxJ0XtWDtyKUIEiM0iVJLTfO1QjiSr5c94FGjai4=";
|
hash = "sha256-zYvfQmGLRpKEHRih0DPduLRgjSrxeaEGVNEER+OoV0Y=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
74725a28889677be718991c0f135a43c7573bc78
|
105abaa0030167bf2f7fc635efa74698083cb2f8
|
||||||
|
|||||||
@@ -177,11 +177,11 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
|
|||||||
static_roles.face = &hmd;
|
static_roles.face = &hmd;
|
||||||
|
|
||||||
roles.left = left_controller_index = xdev_count++;
|
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;
|
xdevs[left_hand_interaction_index = xdev_count++] = &left_hand_interaction;
|
||||||
|
|
||||||
roles.right = right_controller_index = xdev_count++;
|
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;
|
xdevs[right_hand_interaction_index = xdev_count++] = &right_hand_interaction;
|
||||||
|
|
||||||
#if WIVRN_FEATURE_STEAMVR_LIGHTHOUSE
|
#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:
|
case XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER:
|
||||||
roles.left = xdev_count;
|
roles.left = xdev_count;
|
||||||
static_roles.hand_tracking.left = lhdev;
|
static_roles.hand_tracking.unobstructed.left = lhdev; // FIXME: certainly wrong
|
||||||
break;
|
break;
|
||||||
case XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER:
|
case XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER:
|
||||||
roles.right = xdev_count;
|
roles.right = xdev_count;
|
||||||
static_roles.hand_tracking.right = lhdev;
|
static_roles.hand_tracking.unobstructed.right = lhdev; // FIXME: certainly wrong
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user