Reputation: 3384
I've been blown away by aframe, and I want to start walking around the scenes I design.
I've paired the cheap bluetooth controller that came with my headset (blitzwolf VR), but that doesn't work with aframe (or google cardboard). A bluetooth keyboard doesn't work either.
What should I be using to test movement on mobile VR? Thanks!
Upvotes: 0
Views: 722
Reputation: 1151
A-Frame, as of v0.7.0, has built-in support for the following tracked controllers:
There is also a handy laser-controls
component that auto-detects any of the above and adds basic interactivity or the progressive-controls
component from the super-hands
library for more complex interactivity that adjusts based on the controller's capabilities.
You can add support for other tracked controllers by extending the tracked-controls
component.
For other types of controls like a gamepad or keyboard, you can use standard Web APIs to interface just like on a non-vr website, or you could use the universal-controls
component from the aframe-extras
library.
Upvotes: 2
Reputation: 113
I'm going to take a guess here and say that it's possible that you haven't enabled the Gamepad API for your browser, so although your phone is connecting to and responding to your gamepad, your browser can't. I'm reasonably sure that the latest version of Chrome on mobile, (and Chrome in general), has the Gamepad API disabled by default, so you'll have to chase after it.
Go to chrome://flags in your browser then look for the entry that says "Gamepad Extensions" and flip the entry from "Default" to "Enabled". From there, you should be good to go.
Upvotes: 2