-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Nightly oculus touch #2446
Nightly oculus touch #2446
Conversation
I don't understand why |
:) The reason why To fix #2379, the do-nothing-by-default contract is restored, but then emulation / replaying needs some other mechanism to indicate that the events should be acted upon even though the physical controller is not present. That is the Although, actually it turns out that for replay examples like https://ngokevin.github.io/kframe/scenes/aincraft/?avatar-recording=recording.json |
(@ngokevin said this: #2423 (comment)) |
5d128e4
to
6059bd0
Compare
4e1eacb
to
53d72ca
Compare
…lowercased handedness in id string
…n oculus-touch-controls and vive-controls to avoid spurious axis moved events
53d72ca
to
8788dfd
Compare
2e34d3e
to
a715a98
Compare
a715a98
to
469d23f
Compare
11f1c7a
to
0da4007
Compare
@dmarcos per discussion on #2513...
It appears that Nightly is currently exposing trigger as axis ONLY, so in order to generate typical button events (down/up, even if we ignore touch), there is no choice but to add some emulation code (see b2f803e) |
…odify hand-controls to use button presses as well
0da4007
to
e0d3b38
Compare
update: latest nightly builds appear broken, however the 3-22 build has oculus touch mapping as 6 buttons and 2 axes (albeit without touch) - as that is same as chromium, may be able to simplify the mapping again. closing this for now |
This PR adds support to #2513 for the different Oculus Touch controller mapping exhibited by the current Firefox Nightly build(s). Note that Nightly is currently NOT exposing capacitive touch events as Chromium does; therefore, some
hand-controls
poses are more cumbersome since buttons need to be fully actuated rather than merely touched.Per discussion, this PR no longer includes #2423 in its entirety, as another approach has been agreed to fix #2379.