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

Issue 2271353002: Added support for GameController devices on OSX (Closed)

Created:
4 years, 4 months ago by bajones
Modified:
3 years, 5 months ago
Reviewers:
Nico, scottmg
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added support for GameController devices on OSX This is Apple's new gamepad API for Mac and iOS devices, which imposes a ridgid set of guidelines on controller capabilities, similar to XInput on Windows. This allows us to provide a "standard" mapping for every compatible controller. While there aren't many on the market right now, it should make us more future proof and provide better compatibility with newer controllers. BUG=638588 Committed: https://crrev.com/3b3379eceba787068c53d37c0f1466f2c271d336 Cr-Commit-Position: refs/heads/master@{#414211}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Addressed review feedback #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -0 lines) Patch
M device/gamepad/BUILD.gn View 2 chunks +5 lines, -0 lines 1 comment Download
A device/gamepad/game_controller_data_fetcher_mac.h View 1 chunk +38 lines, -0 lines 0 comments Download
A device/gamepad/game_controller_data_fetcher_mac.mm View 1 1 chunk +113 lines, -0 lines 0 comments Download
M device/gamepad/gamepad_pad_state_provider.h View 1 chunk +1 line, -0 lines 0 comments Download
M device/gamepad/gamepad_platform_data_fetcher.h View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
bajones
scottmg@: PTAL! (I know you're not doing much on the gamepad side of things these ...
4 years, 4 months ago (2016-08-24 18:36:55 UTC) #2
scottmg
https://codereview.chromium.org/2271353002/diff/1/device/gamepad/game_controller_data_fetcher_mac.mm File device/gamepad/game_controller_data_fetcher_mac.mm (right): https://codereview.chromium.org/2271353002/diff/1/device/gamepad/game_controller_data_fetcher_mac.mm#newcode59 device/gamepad/game_controller_data_fetcher_mac.mm:59: // This first time we encounter a gamepad, set ...
4 years, 4 months ago (2016-08-24 18:44:55 UTC) #3
bajones
Thanks for the feedback! On 2016/08/24 18:44:55, scottmg wrote: > nit: it's -> its Derp. ...
4 years, 4 months ago (2016-08-24 21:32:19 UTC) #4
scottmg
lgtm
4 years, 4 months ago (2016-08-24 22:05:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2271353002/20001
4 years, 4 months ago (2016-08-24 22:17:17 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-25 00:05:40 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/3b3379eceba787068c53d37c0f1466f2c271d336 Cr-Commit-Position: refs/heads/master@{#414211}
4 years, 4 months ago (2016-08-25 00:11:35 UTC) #10
Nico
https://codereview.chromium.org/2271353002/diff/20001/device/gamepad/BUILD.gn File device/gamepad/BUILD.gn (right): https://codereview.chromium.org/2271353002/diff/20001/device/gamepad/BUILD.gn#newcode82 device/gamepad/BUILD.gn:82: cflags = [ "-Wpartial-availability" ] We add this globally, ...
3 years, 5 months ago (2017-07-13 20:13:14 UTC) #12
bajones1
3 years, 5 months ago (2017-07-13 20:29:06 UTC) #13
Message was sent while issue was closed.
On 2017/07/13 20:13:14, Nico (vacation Jun 30-Jul 11) wrote:
> https://codereview.chromium.org/2271353002/diff/20001/device/gamepad/BUILD.gn
> File device/gamepad/BUILD.gn (right):
> 
>
https://codereview.chromium.org/2271353002/diff/20001/device/gamepad/BUILD.gn...
> device/gamepad/BUILD.gn:82: cflags = [ "-Wpartial-availability" ]
> We add this globally, at least on mac (not on ios, but I think this target
isn't
> pulled in on ios anyhow). Do you remember why you had to explicitly add this?
> Isn't this passed twice for files in this target now?

I don't remember the details aside from the fact that it wasn't compiling
without it. When was it added globally? If it was in the last 10 months it's
likely we can pull that out.

Powered by Google App Engine
This is Rietveld 408576698