bialpio / webxr-input-profiles

WebXR Gamepad assets, source library, and schema

Home Page:https://immersive-web.github.io/webxr-input-profiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebXR Input Profiles

Build Status

Repository

This repository contains information necessary for User Agents to have conformance in WebXR [XRInputSource] objects for all known hardware devices. It also contains assets and a helper library for developers to visualize motion controllers reported though XRInputSource objects. A preview page is also included to allow end-to-end validation of new hardware. The master branch of this preview page is hosted on github here:

Profile Validator and Viewer

Packages

  • The registry package contains JSON files which define the intrinsic values for each type of XRInputSource hardware to ensure User Agent conformity.
  • The assets package contains 3D assets and JSON files to describe the relationship between those assets and the associated XRInputSource profiles defined in the [registry](. The build step of this package merges its content with the JSON files in the registry package.
  • The motion-controllers package contains a javascript library able to load the JSON descriptions published from the assets package and create component-style representations of the XRInputSource data. This library is 3D engine agnostic.
  • The viewer package contains webpage page that uses the motion-controllers library to load and view the profiles and assets from the assets package.

About

WebXR Gamepad assets, source library, and schema

https://immersive-web.github.io/webxr-input-profiles

License:Other


Languages

Language:JavaScript 95.1%Language:HTML 3.7%Language:CSS 1.2%