Revert "Allow Chrome on Mac to recognize multiple MFi gamepads"
This reverts commit f3f5e27d. Reason for revert: Findit (https://goo.gl/kROfz5) identified CL at revision 509533 as the culprit for failures in the build cycles as shown on: https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtL2YzZjVlMjdkYjE2YmU1NWNhZjY0MmIyMjc0ZjhjZmU2ZWIzOGU0ZjQM Sample Failed Build: https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Mac%20Builder%20%28dbg%29/218396 Original change's description: > Allow Chrome on Mac to recognize multiple MFi gamepads > > Chrome for Mac recognizes "Made for iOS" (MFi) gamepads enumerated > by the GameController framework. When multiple such devices are > connected at once, Chrome fails to properly distinguish them. > > GCController exposes a playerIndex field that defaults to the value > GCControllerPlayerIndexUnset (-1). The application may set this field > to a value between 0 and 3 to signal which LEDs should be lit on the > gamepad. Chrome also uses this field to distinguish gamepads, but does > not set the index to a unique value. This causes the first-connected > gamepad to shadow any other connected gamepads. > > This CL ensures each connected MFi gamepad is assigned a unique player > index up to the OS-defined limit of four. > > BUG=775270 > > Change-Id: Ieb852cadc5ff36f94aa1003de3f2e13538114661 > Reviewed-on: https://chromium-review.googlesource.com/723852 > Reviewed-by: Brandon Jones <bajones@chromium.org> > Commit-Queue: Matt Reynolds <mattreynolds@chromium.org> > Cr-Commit-Position: refs/heads/master@{#509533} No-Presubmit: true No-Tree-Checks: true No-Try: true BUG=775270 Change-Id: Ie8a0af7a186753a385d138080ddb70815d992ae5 Reviewed-on: https://chromium-review.googlesource.com/724165 Cr-Commit-Position: refs/heads/master@{#509546}
Showing
Please register or sign in to comment