Skip to content
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

Feature/controllers #19

Merged
merged 8 commits into from
Sep 8, 2019
Merged

Feature/controllers #19

merged 8 commits into from
Sep 8, 2019

Conversation

rvdleun
Copy link
Owner

@rvdleun rvdleun commented Sep 6, 2019

(while I'm the one who'll be approving and merging this, I am creating a PR for documentation and historical purposes)

This PR adds support for controllers. Mostly been tested for the Oculus Quest controllers, but should work for other platforms as well.

  • In the manipulate-source component, a lot of the original code to make controllers work has been removed and replaced with a more simple method where the screen is parented to the controller.
  • The source-border will now also light up when a hover event is emitted on the parent.
  • Two controllers are added to the index.html. They will only emit events on entities that have an interactable class. May change the name to something more onoffice related in preparation for custom AFrame environments.

@rvdleun rvdleun merged commit d2ced11 into develop Sep 8, 2019
@rvdleun rvdleun deleted the feature/controllers branch September 8, 2019 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant