Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Issue 1925953002: Ignore HID elements in extraneous application collections on OSX (Closed)

Created:
4 years, 7 months ago by cgutman
Modified:
4 years, 7 months ago
Reviewers:
bajones, scottmg
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore HID elements in extraneous application collections on OSX Even though we only ask HID manager for devices that have relevant usage numbers, matching devices may have elements that aren't in the collections that we care about. These irrelevant elements take up valuable slots in the WebGamepad object and crowd out the elements that we actually want. The Nvidia Shield controller falls victim to these extra elements, which prevent most of the gamepad controls from being usable at all. BUG=607401 TEST=HTML5 Gamepad API test with Nvidia Shield controller Committed: https://crrev.com/d908daba0f7dc5ae548a6c7e4719ec004f4bf10e Cr-Commit-Position: refs/heads/master@{#390420}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M content/browser/gamepad/gamepad_platform_data_fetcher_mac.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/gamepad/gamepad_platform_data_fetcher_mac.mm View 3 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
cgutman
I found these extra HID collections were a problem when testing my Shield controller on ...
4 years, 7 months ago (2016-04-28 05:25:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925953002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925953002/1
4 years, 7 months ago (2016-04-28 17:06:07 UTC) #5
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 7 months ago (2016-04-28 17:06:09 UTC) #7
bajones
LGTM! Thanks for the contribution. I've seen this problem before but wasn't familiar enough with ...
4 years, 7 months ago (2016-04-28 17:07:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925953002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925953002/1
4 years, 7 months ago (2016-04-28 17:07:55 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-04-28 17:52:57 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:19:33 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d908daba0f7dc5ae548a6c7e4719ec004f4bf10e
Cr-Commit-Position: refs/heads/master@{#390420}

Powered by Google App Engine
This is Rietveld 408576698