forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include vendor/product ID in Gamepad.id string
Chrome typically includes the vendor and product ID as hexadecimal values within the Gamepad.id string to aid developers in identifying controller models. Historically, these IDs were omitted from the ID string on Android because they were not available pre-KitKat. Chrome 72 discontinued support for Android Jelly Bean. Now that we don't need to maintain consistent IDs between old and new versions of Android, let's add the device IDs and mapping info to the product name string using the same format as on desktop Chrome. Bug: 1175926 Change-Id: I03b004d6cbca3fc7f8efa34a3d36b2c61d22fb5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2734880 Commit-Queue: Jobed H <jobed.h@chromium.org> Reviewed-by: Matt Reynolds <mattreynolds@chromium.org> Cr-Commit-Position: refs/heads/master@{#861039}
- Loading branch information
Showing
4 changed files
with
40 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters