Add no-simulation argument#941
Conversation
|
If the form factor is unavailable, Maybe you could do something like this in Lua? while not lovr.headset.connect() do
print('Failed to set up headset, retrying after 1s...')
lovr.timer.sleep(1)
endYou could also use the second return value of |
7bcc5ca to
f016523
Compare
Though we have the issue we are running in automation with an arbritary LUA script, so we can't detect the case where the OXR init has failed and its gone into simulation. How about this? I added a --no-simulation option that disables simulation and just exits if OXR fails. |
|
Closing in favor of #946 |
Disables the simulation option and exits when OXR creation fails if its set. This allows LOVR to be run in automation and detect the FORM_FACTOR_UNAVAILABLE discussed below without a custom LUA script.