monado/src/xrt/drivers/survive
Christoph Haag cc53994b4f d/survive: Count ahead of time how many configs to wait for
On recent libsurvive versions, loading the config of the HMD takes quite
long when only a HMD is active without controllers.

Instead of adjusting the timeout value all the time, rework how we wait for
the device configs.

Previously we just waited for device configs to arrive until no new configs
arrive for a predefined timeout.
Now we count how many objects of interest libsurvive actually knows, and then
only wait until the configs for this many devices are loaded.

This should make initialization of the survive driver faster and more robust.
2021-09-04 02:35:59 +02:00
..
survive_driver.c d/survive: Count ahead of time how many configs to wait for 2021-09-04 02:35:59 +02:00
survive_driver.h d/survive: Use autoprober interface 2021-03-02 17:50:19 +00:00
survive_interface.h d/survive: Use autoprober interface 2021-03-02 17:50:19 +00:00
survive_prober.c d/survive: Use autoprober interface 2021-03-02 17:50:19 +00:00