Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SteamVR tracker support #884

Closed
avaer opened this issue Apr 2, 2019 · 2 comments · Fixed by #896
Closed

SteamVR tracker support #884

avaer opened this issue Apr 2, 2019 · 2 comments · Fixed by #896
Labels
enhancement New feature or request

Comments

@avaer
Copy link
Member

avaer commented Apr 2, 2019

We would like to get generic Vive trackers (not wands) exposed as gamepads in navigator.getGamepads.

We already support the querying infrastructure needed; we just need to hook in the case of generic trackers into the render loop.

@avaer avaer added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Apr 2, 2019
@kfarr
Copy link

kfarr commented Apr 3, 2019

This is a screenshot of how Unity handles mapping input from SteamVR API
Screenshot (19)

In a perfect world, as an A-Frame application developer, I can target a specific tracker and mapping, for example:
<a-entity tracked-controls="id: OpenVR Tracker Left Foot"></a-entity>

It is up to the user to determine mapping via existing SteamVR interface, but the above helps a developer target that mapping.

Note that the A-Frame tracked-controls component allows for querying controllers with idPrefix as well as id to provide backwards support such that an application that has idPrefix: OpenVR Tracker won't break if there is a change in behavior to append to the pose role string at the end of the current controller name (id) string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants