• Stars
    star
    183
  • Rank 202,516 (Top 5 %)
  • Language
    JavaScript
  • License
    Other
  • Created about 5 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

WebXR Gamepad assets, source library, and schema

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. Specifically, it maps the the Gamepad data exposed by the XRInputSource. This library is 3D engine agnostic.
  • The viewer package contains a webpage that uses the motion-controllers library to load and view the profiles and assets from the assets package.

Versioning

Packages will be published to npm as changes occur, with version numbers formatted as <Major>.<Minor>.<Patch> and updated according to the following guildlines:

Major

  • Significant design changes

Minor

  • Additional features added
  • Small breaking changes to schema
  • Breaking changes in source code or test code

Patch

  • Adds new mapping and/or asset files
  • Fixes to existing mapping and/or asset files
  • Critical, non-breaking security fixes
  • Occasional non-breaking fixes to schema, source code, or test code

Packages from this repo may update their Minor and Patch versions at a different cadence. Changes to Major versions are expected to be large enough that all packages will update in tandem.

More Repositories

1

webxr

Repository for the WebXR Device API Specification.
Bikeshed
2,910
star
2

webvr-polyfill

Use WebVR today, without requiring a special browser build.
JavaScript
1,402
star
3

webxr-samples

Samples to demonstrate use of the WebXR Device API
HTML
939
star
4

webxr-polyfill

Use the WebXR Device API today, providing fallbacks to native WebVR 1.1 and Cardboard
JavaScript
369
star
5

webvrrocks

Your guide to Virtual Reality in the browser.
HTML
121
star
6

webxr-ar-module

Repository for the WebXR Augmented Reality Module
Bikeshed
110
star
7

webxr-hand-input

A feature repo for working on hand input support in WebXR. Feature lead: Manish Goregaokar
Bikeshed
97
star
8

proposals

Initial proposals for future Immersive Web work (see README)
93
star
9

cardboard-vr-display

A JavaScript implementation of a WebVR 1.1 VRDisplay
JavaScript
90
star
10

immersiveweb.dev

Repo for immersiveweb.dev
HTML
89
star
11

layers

A feature repo for working on multi-layer support in WebXR. Feature leads: Rik Cabanier and Artem Bolgar (Oculus)
HTML
88
star
12

hit-test

Makefile
75
star
13

navigation

Repository for the discussion and research in to navigating from page to page whilst staying in immersive mode. Feature leads: Rik Cabanier and Brandon Jones
69
star
14

real-world-geometry

Additions to WebXR Device API for exposing real world data (Lead: Piotr Bialecki). Plane detection: https://immersive-web.github.io/real-world-geometry/plane-detection.html
Bikeshed
69
star
15

dom-overlays

A feature incubation repo for layering DOM content on/in WebXR content. Feature lead: Piotr Bialecki
Bikeshed
69
star
16

model-element

Repository for the <model> tag. Feature leads: Marcos Cรกceres and Laszlo Gombos
HTML
59
star
17

computer-vision

A feature repo for exploring computer vision APIs for XR. Feature Lead: Blair MacIntyre
54
star
18

anchors

Bikeshed
51
star
19

depth-sensing

Specification: https://immersive-web.github.io/depth-sensing/ Explainer: https://github.com/immersive-web/depth-sensing/blob/main/explainer.md
Makefile
50
star
20

WebXR-WebGPU-Binding

Bikeshed
48
star
21

marker-tracking

Additions to the WebXR Device API for Marker Tracking. Repo contacts Rik Cabanier and Piotr Bialecki
HTML
47
star
22

raw-camera-access

Spec draft: https://immersive-web.github.io/raw-camera-access/. Repository for experimentation around exposing raw camera access through WebXR Device API. Feature leads: Piotr Bialecki, Alex Turner, Nicholas Butko
Bikeshed
36
star
23

geo-alignment

For work toward a feature in WebXR to geo-align coordinate systems. Feature lead: Blair MacIntyre
HTML
35
star
24

immersive-web-weekly

The site and content for the Immersive Web Weekly newsletter
Handlebars
32
star
25

lighting-estimation

A proposal for adding lighting estimation API to WebXR Device API. Feature lead: Kip Gilbert
Makefile
32
star
26

webvr-polyfill-dpdb

An up-to-date Device Parameter Database for the WebVR Polyfill
JavaScript
31
star
27

webxr-gamepads-module

Repository for the WebXR Gamepads Module
Bikeshed
29
star
28

administrivia

A repo for managing the adminstrative tasks of the Immersive Web Group.
25
star
29

webxr-layers-polyfill

WebXR Layers Polyfill library. Lead: Rik Cabanier.
JavaScript
19
star
30

privacy-and-security

Cross specification concerns and suggestions for privacy and security for the immersive web (Feature lead: Mounir Lamouri)
16
star
31

immersive-web.github.io

Organization page for the Immersive Web Working Group and Community Group
14
star
32

webxr-test-api

WPT testing API for WebXR
Bikeshed
13
star
33

webvr

Archival repository for the legacy WebVR Specification.
HTML
13
star
34

spatial-favicons

A proposal for favicon support for a new data type. Feature lead: Rik Cabanier
12
star
35

ar-common

A repo for discussing and capturing information about cross-API aspects of augmented reality
11
star
36

body-tracking

Bikeshed
10
star
37

real-world-meshing

Bikeshed
9
star
38

capture

Capture composited content, layers and real world through a privacy preserving high level API
7
star
39

semantic-labels

This repository will list all the semantic labels that can be returned by various WebXR APIs
7
star
40

occlusion

HTML
6
star
41

detached-elements

Using HTML/CSS to bring elements outside the window in Immersive Web browsers. Feature leads: Dean Jackson and Ada Rose Cannon
HTML
5
star
42

community-resources

Common resources for all Immersive Web Community Group repositories
5
star
43

homepage

Homepage of the Immersive Web WG
HTML
4
star
44

performance-improvements

A feature-incubation repo for XR-related performance improvements. Feature lead: Trevor F. Smith
2
star
45

front-facing-camera

Incubation repository for access to front-facing-camera. Repo contact Piotr Bialecki and Rik Cabanier
HTML
1
star
46

webxr-accessibility

WebXR Accessibility
HTML
1
star