jsyang / gearvr-controller-webbluetooth

Gear VR controller web bluetooth demo
GNU General Public License v3.0
115 stars 39 forks source link

Works with Chromium Version 58.0.3029.110 (64-bit) as well (and likely later versions) #3

Open WorldScott opened 5 years ago

WorldScott commented 5 years ago

I managed to make it work under macOS/OS X 10.12.6.

It is necessary to activate the API by entering this address into the address bar chrome://flags/#enable-experimental-web-platform-features and then ticking the "Experimental Web Platform features" to enable it.

I've just tested it out and saw how the home button resets the position of the controller to zero in the demo.

I found that the demo here on Github works but not the one from your website.

Cheers,

-Scott

parkerlreed commented 5 years ago

How did you get it running locally? I tried the index.html but nothing happens when I hit pair and run

file:///home/parker/gearvr-controller-webbluetooth/index.html

parkerlreed commented 5 years ago

Ok I finally got it to run by using the node.js http-server

image

Version 72.0.3626.81 (Official Build) beta (64-bit)

xmljson commented 5 years ago

Ok I finally got it to run by using the node.js http-server

image

Version 72.0.3626.81 (Official Build) beta (64-bit)

did you use express?

parkerlreed commented 5 years ago

I think it was literally with http-server

Just ran that in the root directory of the repo. https://www.npmjs.com/package/http-server