commit | 05d736b3265fb78749f6865e108f202b10c8d6c5 | [log] [tgz] |
---|---|---|
author | Jacob DeWitt <jacde@chromium.org> | Tue Aug 06 19:31:07 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Aug 06 19:31:07 2019 |
tree | 90eb8e912f10c8133730f0e2d0e6c0cb1d198550 | |
parent | 1dc0388b390f5480b6447c9622158ed770454f77 [diff] |
Update WebXR gamepads to latest version of xr-standard mapping The mapping is defined by the spec at: https://immersive-web.github.io/webxr/#xr-standard-gamepad-mapping Now, only a primary trigger is required for a controller to claim xr-standard mapping, and the order of some of the buttons has changed. Centralize the logic of how to order buttons + input axes, as well as where/when to add placeholder values in the XRStandardGamepadBuilder class. Bug: 979246 Change-Id: Iefb116ea603c0a7237575d189686fd2daee9de90 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1728345 Commit-Queue: Jacob DeWitt <jacde@chromium.org> Reviewed-by: Alexander Cooper <alcooper@chromium.org> Reviewed-by: Brian Sheedy <bsheedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#684446}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .