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

Gear VR Controller does not work. #3483

Closed
sabbir420 opened this issue Mar 22, 2018 · 5 comments
Closed

Gear VR Controller does not work. #3483

sabbir420 opened this issue Mar 22, 2018 · 5 comments
Labels
Milestone

Comments

@sabbir420
Copy link

sabbir420 commented Mar 22, 2018

Description:
I am facing problem. I am using gear VR and I use 'gearvr-controls' but it does not work. It does not click. If I put cursor then by cursor is clicking but gear vr controller does not. Here is an example. You can check from here.

  • A-Frame Version: 0.8.0
  • Platform / Device: Gear VR
  • Reproducible Code Snippet or URL:
@machenmusik
Copy link
Contributor

this should be fixed by #3429
see https://codepen.io/anon/pen/JLNRvx

@sabbir420
Copy link
Author

@machenmusik See my example. Clicking does not work. I checked your example too.

@sabbir420 sabbir420 changed the title Gear VR does not work. Gear VR Controller does not work. Mar 22, 2018
@machenmusik
Copy link
Contributor

I don't think clicking does anything in the codepen I mentioned above (there are no handlers attached to the box entity that would do anything with clicks).

With respect to your previous glitch
https://glitch.com/edit/#!/odd-fortnight?path=index.html:1:0
a few things:

see this remix, which works with GearVR controller in Oculus Browser (and also Touch controllers in Firefox)
https://glitch.com/edit/#!/watery-teeth?path=index.html:56:0

@machenmusik
Copy link
Contributor

note that in watery-teeth:

  • old component was removed
  • patched A-Frame version is referenced instead of broken 0.8.0
  • used laser-controls (which automatically includes cursors for controllers) instead of gearvr-controls
  • removed explicit head-locked cursor (on the assumption that you'd want the controller cursor that laser-controls provides)

@donmccurdy donmccurdy added this to the 0.8.X milestone Mar 22, 2018
@donmccurdy donmccurdy added the bug label Mar 22, 2018
ngokevin added a commit that referenced this issue Mar 23, 2018
simple fix for Gear VR and Oculus Touch controller issues (fixes #3447 and #3483)
@machenmusik
Copy link
Contributor

This should be fixed now in latest A-Frame master via #3489

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants