-
Notifications
You must be signed in to change notification settings - Fork 1.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
Fixes for Daydream #15
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments. LGTM otherwise.
public/room.html
Outdated
@@ -2,6 +2,7 @@ | |||
|
|||
<head> | |||
<title>Mozilla Mixed Reality Social Client</title> | |||
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we really point to latest
?
this.accelerationInput.setX(event.detail); | ||
} else { | ||
this.accelerationInput.setX(0); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a bug in input-mapping that we should submit a PR for? Maybe put a TODO in here.
@@ -106,6 +106,7 @@ AFRAME.registerComponent("hand-controls2", { | |||
el.setAttribute("vive-controls", controlConfiguration); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(why is this component called hand-controls2
? Surely it deserves a better name)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think its a direct extension of the aframe built in component hand-controls
. It's likely something we might want to land upstream but we don't know exactly what we want yet so its not worth maintaining a separate fork of aframe over. Thus hand-controls2
was born.
virtual-gamepad-controls
component.daydream-controls
component tohand-controls2
component.offline=true
query string option so you can get past the loading screen when offline.