-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wolvic on Lynx missing input profile #1103
Comments
Multiple solutions tried on https://glitch.com/edit/#!/lynx-aframe?path=index.html A custom component could be tried until a working build is available, but that would needlessly complexify a selection process already quite complex. |
Ideally we would have WebXR hand input support since it's the only input method available on Lynx. For that
As a workaround adding the generic-hand profile as Fabien mentioned will help content make better decisions instead of an empty array. Keep up the great work |
On second thought |
Nice to see you here @dmarcos. Yeah sending an empty array is a bug indeed on the Lynx port, we'll fix that once we have some slack. That said, for the Gecko port we cannot use hand profiles because Gecko does not support WebXR hand tracking APIs. It works for most of the other cases because we effectively emulate a controller. We'll very likely use a generic controller profile for this case which should be supported by AFrame in any case. We'll enable that for the Chromium port though because we've already added the machinery to support WebXR hand tracking with Chromium in Wolvic. |
The Lynx R1 is a great device due to it's more open philosophy and in practice allowing rooting https://lynx.miraheze.org/wiki/Rooting_Process , but they already started shipping. Wolvic is one of the very few apps available so I believe having a solution for interaction for WebXR ASAP would insure a growing audience who might be a lot more participatory than on other ecosystems where they would only consume content than build. In a way I see this, interaction in WebXR, for this platform as something rather pressing for the ecosystem to keep on growing. Anyway happy to try on a test build, or compile a test branch if necessary, whenever that profile is in and report back! |
This issue has been fixed by PR #1019 which has been integrated in Wolvic 1.5.1 |
Neat, is there a 1.5.1 or 1.5.2 build for Lynx? |
Here is my built from Github latest version yesterday https://fabien.benetou.fr/pub/home/Wolvic-lynx-arm64-gecko-generic-release.apk Note that the application Id name has been changed from PS: this build is also available on https://apps.lynx-community.workers.dev/ |
Configuration
Wolvic version: 1.4.1
Wolvic build ID: 97 (versionCode)
Hardware: Lynx R1
Steps to Reproduce
By using remote debugging I checked the value of
AFRAME.scenes[0].xrSession.inputSources[0]
while showing hands. It does get filled properly for some values, e.ghandedness
but not.profiles
which is used to determine how to handle then represent inputs.Current
Expected Behavior
Show lasers when hands move, just like https://immersive-web.github.io/webxr-samples/input-tracking.html?usePolyfill=0 does.
Possible Solution
AFrame laser controls fallbacks fails because
AFRAME.scenes[0].xrSession.inputSources[0]
expects a value in.profiles
but is currently empty. See WebXR specifications https://github.com/immersive-web/webxr-input-profiles/blob/main/packages/registry/profiles/generic/generic-hand.json maybegeneric-hand-select
as input profile.Context
Error Logs and Stack Traces
The text was updated successfully, but these errors were encountered: