mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-25 08:01:43 +00:00
cc53994b4f
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. |
||
---|---|---|
.. | ||
survive_driver.c | ||
survive_driver.h | ||
survive_interface.h | ||
survive_prober.c |