Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
virtualtuur's avatar
virtualtuur
Explorer
8 years ago

Connect to oculus Go pointer with javascript

Hi all,

I like to connect the pointer device to my webvr 360 stuff. I would like to catch the clicks, tab and/or swipes from the pointer device. The pointer part it self not necessarily.
is there a script and hopefully with working example that does this? 
Is it possible?

Cheers!
Tuur

3 Replies

  • I actually think the info i need is here: https://developer.mozilla.org/en-US/docs/Web/API/WebVR_API/Using_VR_controllers_with_WebVR Let's see..    :dizzy:
  • mmmm... i got stuck.. can't manage to get the click or tap function of the Oculus Go pointer device (gamepad(?)) by javascript. Anybody bare bone code example ? 
  • Did you test aframe.io and the super-hand component?
    For Threejs, it is the gearvr controller : https://threejs.org/examples/#webvr_gearvr