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

Issue 135523006: Implemented Gamepad support via Raw Input on Windows (Closed)

Created:
6 years, 11 months ago by bajones
Modified:
6 years, 10 months ago
Reviewers:
scottmg, jam, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, scheib
Visibility:
Public.

Description

Implemented Gamepad support via Raw Input on Windows This will hopefully be less unstable than the DirectX method. BUG=305267 R=piman@chromium.org, scottmg@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248741

Patch Set 1 #

Patch Set 2 : Features, fixes, and cleanups #

Total comments: 6

Patch Set 3 : Addressed feedback, fixed some issues observed with certain controllers #

Total comments: 27

Patch Set 4 : Addressing more feedback #

Total comments: 2

Patch Set 5 : Minor tweak to UsageMin comparison #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+842 lines, -31 lines) Patch
M content/browser/gamepad/gamepad_platform_data_fetcher_win.h View 1 2 3 4 chunks +15 lines, -2 lines 0 comments Download
M content/browser/gamepad/gamepad_platform_data_fetcher_win.cc View 1 2 3 7 chunks +92 lines, -11 lines 0 comments Download
M content/browser/gamepad/gamepad_provider.cc View 1 2 1 chunk +7 lines, -7 lines 0 comments Download
M content/browser/gamepad/gamepad_standard_mappings_win.cc View 1 2 2 chunks +118 lines, -11 lines 0 comments Download
A content/browser/gamepad/raw_input_data_fetcher_win.h View 1 2 3 5 1 chunk +137 lines, -0 lines 0 comments Download
A content/browser/gamepad/raw_input_data_fetcher_win.cc View 1 2 3 4 5 1 chunk +471 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
bajones
I feel like this is in a good state to go in now. In the ...
6 years, 10 months ago (2014-01-31 19:10:43 UTC) #1
scottmg
Still trying to wrap my head around it, but some early comments. Also, could you ...
6 years, 10 months ago (2014-01-31 20:51:10 UTC) #2
bajones
Reasonably big update, got my hands on several new controllers that exposed a couple of ...
6 years, 10 months ago (2014-02-03 22:57:31 UTC) #3
scottmg
This mostly lg (modulo my complete infamiliarty with raw input). Can you confirm with manual ...
6 years, 10 months ago (2014-02-03 23:58:15 UTC) #4
bajones
Addressed feedback, with a couple of specific comments below. Seems well behaved in regards to ...
6 years, 10 months ago (2014-02-04 01:00:35 UTC) #5
scottmg
https://codereview.chromium.org/135523006/diff/140001/content/browser/gamepad/raw_input_data_fetcher_win.cc File content/browser/gamepad/raw_input_data_fetcher_win.cc (right): https://codereview.chromium.org/135523006/diff/140001/content/browser/gamepad/raw_input_data_fetcher_win.cc#newcode423 content/browser/gamepad/raw_input_data_fetcher_win.cc:423: return DefRawInputProc(&input, 1, sizeof(RAWINPUTHEADER)); On 2014/02/04 01:00:35, bajones wrote: ...
6 years, 10 months ago (2014-02-04 01:15:06 UTC) #6
bajones
https://codereview.chromium.org/135523006/diff/140001/content/browser/gamepad/raw_input_data_fetcher_win.cc File content/browser/gamepad/raw_input_data_fetcher_win.cc (right): https://codereview.chromium.org/135523006/diff/140001/content/browser/gamepad/raw_input_data_fetcher_win.cc#newcode423 content/browser/gamepad/raw_input_data_fetcher_win.cc:423: return DefRawInputProc(&input, 1, sizeof(RAWINPUTHEADER)); On 2014/02/04 01:15:06, scottmg wrote: ...
6 years, 10 months ago (2014-02-04 03:53:45 UTC) #7
scottmg
LGTM enough to land and iterate on the parts that aren't well-documented. :) Thanks for ...
6 years, 10 months ago (2014-02-04 04:04:12 UTC) #8
bajones
On 2014/02/04 04:04:12, scottmg wrote: > LGTM enough to land and iterate on the parts ...
6 years, 10 months ago (2014-02-04 04:23:30 UTC) #9
scottmg
I think it's OK to TBR non-structural changes to the gypi files like these minor ...
6 years, 10 months ago (2014-02-04 04:42:34 UTC) #10
piman
lgtm
6 years, 10 months ago (2014-02-04 04:51:31 UTC) #11
bajones
The CQ bit was checked by bajones@chromium.org
6 years, 10 months ago (2014-02-04 04:53:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bajones@chromium.org/135523006/260001
6 years, 10 months ago (2014-02-04 04:53:41 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 05:33:13 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=222789
6 years, 10 months ago (2014-02-04 05:33:14 UTC) #15
bajones
6 years, 10 months ago (2014-02-04 17:21:47 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 manually as r248741 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698