Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1007 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 1007 Bytes

WebVR Input Sample for Oculus Quest 1 and 2

Samples for getting input data from controllers of Oculus Quest with A-Frame.
Here are 2 ways of sample to get input information of each controllers.

sample1.html:
Adding EventListner to elements of each controller acquired by using getElementById function.
sample2.html:
Adding EventListner to elements of each controller gotten inside AFRAME.registerComponent function.

Please see also following repository if you are finding a interaction sample.
https://github.com/TakashiYoshinaga/Oculus-Quest-Interaction-Sample

Experiences

Experience on your device
https://quest-test.glitch.me (sample1.html)
or
https://quest-test2.glitch.me (sample2.html)

video


Reference for Oculus Touch

https://aframe.io/docs/0.9.0/components/oculus-touch-controls.html