TakashiYoshinaga / Oculus-Quest-Input-Sample

Sample for getting input data from controllers of Oculus Quest with A-Frame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Sample for getting input data from controllers of Oculus Quest with A-Frame

License:Apache License 2.0


Languages

Language:HTML 100.0%