mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-03-03 13:16:38 +00:00
st/oxr: Fix the any handiness controllers not getting assigned to right
This commit is contained in:
parent
9f11287fa3
commit
18957e0636
|
@ -126,7 +126,7 @@ assign_xdev_roles(struct oxr_instance *inst)
|
|||
XRT_DEVICE_TYPE_ANY_HAND_CONTROLLER) {
|
||||
if (sys->role.left == XRT_DEVICE_ROLE_UNASSIGNED) {
|
||||
sys->role.left = i;
|
||||
} else if (sys->role.left ==
|
||||
} else if (sys->role.right ==
|
||||
XRT_DEVICE_ROLE_UNASSIGNED) {
|
||||
sys->role.right = i;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue