Skip to content

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

License

Notifications You must be signed in to change notification settings

TakashiYoshinaga/Oculus-Quest-Input-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages