Add mapping for Dualshock4 USB receiver |
||
Issue descriptionChrome (partially) supports the Dualshock4 gamepad in both USB and Bluetooth modes. Sony also makes a dedicated USB receiver for the Dualshock4 which is intended to make it easier to connect a single DS4 to a Windows or OSX host. I tested the receiver on Windows, Linux, OSX, Android, and Chrome OS and found it was detected on all platforms. The default mapping was used in each case, which caused incorrect button and axis mappings. We should add an entry in the gamepad mappings so that DS4s connected in this way use the same mapping as DS4s connected via USB or BT.
,
Sep 14 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f1dc344fa6a3730b9872a50bf24e8f4a849cbd9a commit f1dc344fa6a3730b9872a50bf24e8f4a849cbd9a Author: Matt Reynolds <mattreynolds@google.com> Date: Thu Sep 14 01:07:22 2017 Add mappings for Dualshock4 gamepad connected by USB receiver The Dualshock4 gamepad is supported in Chrome over both Bluetooth and USB. Sony has also released a USB adapter that allows the gamepad to be used wirelessly without using the host's Bluetooth stack. This CL adds entries to the mapping tables for Linux, Windows, Mac, and Android so the correct mappings will be applied to Dualshock4 gamepads connected with this adapter. It also fixes a mapping error on Android that incorrectly maps the Share, Options, and thumbstick buttons. BUG= 717274 Change-Id: I556e9f4d75ee35bfb8654e87629d417265fad69b Reviewed-on: https://chromium-review.googlesource.com/661895 Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Matt Reynolds <mattreynolds@chromium.org> Cr-Commit-Position: refs/heads/master@{#501819} [modify] https://crrev.com/f1dc344fa6a3730b9872a50bf24e8f4a849cbd9a/device/gamepad/android/java/src/org/chromium/device/gamepad/GamepadMappings.java [modify] https://crrev.com/f1dc344fa6a3730b9872a50bf24e8f4a849cbd9a/device/gamepad/gamepad_standard_mappings_linux.cc [modify] https://crrev.com/f1dc344fa6a3730b9872a50bf24e8f4a849cbd9a/device/gamepad/gamepad_standard_mappings_mac.mm [modify] https://crrev.com/f1dc344fa6a3730b9872a50bf24e8f4a849cbd9a/device/gamepad/gamepad_standard_mappings_win.cc
,
Sep 14 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by mattreynolds@chromium.org
, Sep 13 2017Status: Started (was: Available)