From 330279d3306f603845e2268a710e58ce7ec94032 Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Tue, 1 Sep 2020 17:03:55 +0200 Subject: [PATCH] d/psvr: Set positional tracking bit when tracker is present --- src/xrt/drivers/psvr/psvr_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/drivers/psvr/psvr_device.c b/src/xrt/drivers/psvr/psvr_device.c index 40476eadc..f9d06c28d 100644 --- a/src/xrt/drivers/psvr/psvr_device.c +++ b/src/xrt/drivers/psvr/psvr_device.c @@ -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!");