d/psvr: Set positional tracking bit when tracker is present

This commit is contained in:
Christoph Haag 2020-09-01 17:03:55 +02:00
parent cde94cc8a2
commit 330279d330

View file

@ -1146,7 +1146,7 @@ psvr_device_create(struct hid_device_info *hmd_handle_info,
}
psvr->base.orientation_tracking_supported = true;
psvr->base.position_tracking_supported = false;
psvr->base.position_tracking_supported = xp->tracking != NULL;
psvr->base.device_type = XRT_DEVICE_TYPE_HMD;
PSVR_DEBUG(psvr, "YES!");