webxr-input-profiles
webxr-input-profiles copied to clipboard
WebXR Gamepad assets, source library, and schema
All buttons on the Valve Index controller are currently exposed in [valve-index.json](packages/registry/profiles/valve/valve-index.json) as non-reserved, leaving no button for a UA to use for its own menus. We should decide on...
We can drive further cross-UA conformance for UAs built atop OpenXR. Another package of JSON mappings could map each WebXR input profile to its corresponding OpenXR interaction profile, defining which...
Currently no asset validation is performed; this issue would enable at least walking the asset to ensure required nodes are present.
Per the feedback on #104, the `ComponentProperty.BUTTON` and associated schema property is somewhat misnamed. The `GamepadButton` contains `value`, `touched`, and `pressed` attributes. The `Component` class uses this information and combines...
The schema and library were authored under the assumption that there must always be 3D assets accompanying a profile.json. However, there is still value in a profile.json file describing a...
As authored, this library invokes an asychronous method to fetch and load a profile. When the input source is of type 'screen', this creates unnecessary overhead. This issue tracks thinking...
This is dependent on the outcome of https://github.com/immersive-web/webxr/issues/772 If we do enable events, this library might want to do something to allow component event firing.
To get intermediate state of joysticks, touchpads, etc the input profile defines empty transform nodes to interpolate between states. Wouldn't it be more natural and extensible to use an animation...
Thumbsticks and joysticks are usually expressed with two axis values such as "x" and "y". These values define the angle of the input; however, there are constraints that cause interactions...
For some devices, it is expected that the conventional component responsible for causing select, selectstart, and selectend events to fire will differ between regions of the world for the same...