The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

xrt: Send in real prober to auto probers

+7 -7
+2 -2
src/xrt/drivers/ohmd/oh_prober.c
··· 51 51 } 52 52 53 53 static struct xrt_device * 54 - oh_prober_autoprobe(struct xrt_auto_prober *p) 54 + oh_prober_autoprobe(struct xrt_auto_prober *xap, struct xrt_prober *xp) 55 55 { 56 - struct oh_prober *ohp = oh_prober(p); 56 + struct oh_prober *ohp = oh_prober(xap); 57 57 58 58 int device_idx = -1; 59 59
+2 -2
src/xrt/drivers/psvr/psvr_prober.c
··· 69 69 } 70 70 71 71 static struct xrt_device * 72 - psvr_prober_autoprobe(struct xrt_auto_prober *p) 72 + psvr_prober_autoprobe(struct xrt_auto_prober *xap, struct xrt_prober *xp) 73 73 { 74 - struct psvr_prober *ppsvr = psvr_prober(p); 74 + struct psvr_prober *ppsvr = psvr_prober(xap); 75 75 struct hid_device_info *info_control = NULL; 76 76 struct hid_device_info *info_handle = NULL; 77 77 struct hid_device_info *cur_dev = NULL;
+2 -2
src/xrt/include/xrt/xrt_prober.h
··· 301 301 */ 302 302 struct xrt_auto_prober 303 303 { 304 - struct xrt_device *(*lelo_dallas_autoprobe)( 305 - struct xrt_auto_prober *xdev); 304 + struct xrt_device *(*lelo_dallas_autoprobe)(struct xrt_auto_prober *xap, 305 + struct xrt_prober *xp); 306 306 void (*destroy)(struct xrt_auto_prober *xdev); 307 307 }; 308 308
+1 -1
src/xrt/state_trackers/prober/p_prober.c
··· 540 540 for (int i = 0; i < MAX_AUTO_PROBERS && p->auto_probers[i]; i++) { 541 541 struct xrt_device* xdev = 542 542 p->auto_probers[i]->lelo_dallas_autoprobe( 543 - p->auto_probers[i]); 543 + p->auto_probers[i], xp); 544 544 if (xdev == NULL) { 545 545 continue; 546 546 }