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
Experience on your device
https://quest-test.glitch.me (sample1.html)
or
https://quest-test2.glitch.me (sample2.html)
video
https://aframe.io/docs/0.9.0/components/oculus-touch-controls.html