Comments (8)
From what I've been able to figure out, but I could be mistaken, it seems like the Oculus XR runtime itself is sending XR_SESSION_STATE_STOPPING and XR_SESSION_STATE_IDLE when it no longer detects it's being worn, but VDXR sends nothing.
from uevr.
There is no proper support for "user presence" sensing in OpenXR 1.0. What the Oculus OpenXR runtime does has been a source of debate for a while, and the behavior they implement is not in the OpenXR spec and not guaranteed across all OpenXR implementations. This behavior implemented by Oculus is also a major source of headaches for users (go ask DCS users and how they all have taped their sensor on the headset to go around game/runtime bugs due to it).
VDXR/PimaxXR do not implement this non-standard behavior.
from uevr.
Would a keybind to switch back to desktop mode for these other runtimes be an acceptable workaround?
from uevr.
Understandable, although it is a useful feature in this particular use case.
Is it possible to detect the HMD worn state through the other runtimes through polling? If so maybe a toggle-able option to switch automatically would be a better UX. Although I'm guessing since user presence sensing is non-standard that's likely a no. So a keybind is likely the only option if that's the case.
from uevr.
Is it possible to detect the HMD worn state through the other runtimes through polling
It isn't in OpenXR 1.0. There is an extension in the works for this. Right now the session state events are not implemented the same way across vendors, so you can't make assumption on them.
from uevr.
In that case a keybind would great for now, will make it playable for all runtimes.
from uevr.
Added in 4f9f362
from uevr.
Just tested it and works perfectly, thanks for the fix.
from uevr.
Related Issues (20)
- Crash when transitioning from jump in space to planet side
- [BUG]
- [BUG] Chrome Keeps Deleting the ZIP calling it malware HOT 1
- When downloading windows warns for virus HOT 1
- [BUG] Banishers Ghosts of New Eden flickering build 852+
- [BUG] MXGP PRO Erreur Fatale !
- [BUG] MOTO GP 2023 HOT 1
- [Feature request] Foveated Rendering HOT 1
- Unreal Engine v1 Support? (Goat Simulator) HOT 2
- Add the ability to completely disable VR HOT 2
- [Feature request] Reduced UObjectHook tree
- [VIRUS] PUA:Win32/Packunwan Virus found in UEVR.zip HOT 1
- Ace Combat 7 Player Control Mode HOT 1
- Please help
- Tourist Bus Simulator crash after Injection[BUG]
- uevr doesnt detect insurgency sandstorm if it has been downloaded from xbox even when launched with eac off
- [BUG] insurgency sandstorm is not detected when using xbox version of the game. HOT 2
- OpenXR issue HOT 1
- System button not bound to start/select HOT 2
- [BUG] "FMallocBinned2 Attempt to realloc an unrecognized block 000002413BC60000 canary == 0x0 != 0xe3" crash HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uevr.