commit | 0b0313e40899dc507cc77dad14ce870a81400237 | [log] [tgz] |
---|---|---|
author | Jacob DeWitt <jacde@chromium.org> | Tue May 21 18:20:06 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 21 18:20:06 2019 |
tree | 40ef5c410b8d30a4d098c788920dce0231fb9219 | |
parent | 593809ba31cf81f0ba74c498efab675da9603118 [diff] |
Set OpenVR gamepad.id to 'htc-vive' if the model string contains 'Vive'. OpenVR reports different model strings for developer vs released versions of Vive controllers. In the future, there could be additional iterations of the Vive controller that we also want to catch here. That's why we check if the model string contains "Vive" instead of doing an exact match against specific string(s). Bug: 961862 Change-Id: I18892434c58e396a3f60f239d645e96226f4b498 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1622465 Reviewed-by: Bill Orr <billorr@chromium.org> Commit-Queue: Jacob DeWitt <jacde@chromium.org> Cr-Commit-Position: refs/heads/master@{#661818}
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 .