Chrome plans on adding Joy-Con and Switch Pro Controller support
An interesting piece of code has been added in Chrome's Gamepad API, namely support for Nintendo's Joy-Con and Switch pro controllers. This has sparked the interest of many users not just because of the feature in itself, but also due to how such a change has been made almost immediately after Google's teaser for GDC, announcing the company's "vision of the future of gaming".
Regarding Joy-Con support specifically, it appears the controller will work in both dual and single mode, while the Pro Controller will work both wired and via Bluetooth. Support for the Charging Grip is also available.
The changes have been described on Chromium Gerrit, a website dedicated to developers working on Chromium and is currently being reviewed. The commit's details are as follows:
Improve support for Nintendo Switch gamepads
This adds support for Nintendo Switch controllers through Gamepad API:
* Switch Pro (USB and Bluetooth)
* Joy-Con L (Bluetooth)
* Joy-Con R (Bluetooth)
* Joy-Con L+R (Bluetooth)
* Charging Grip (USB)
These devices require an initialization sequence that is not performed by the host's gamepad support or by the platform data fetcher. They also provide calibration data that is needed in order to correctly scale the thumbstick inputs.
This implementation replaces the experimental Switch Pro support on Linux, which is removed in this CL.
BUG=801717 Change-Id: Ided8ec689a87a69643b4d4d82dc3b2bf04a7c912
Source (1)
Source (2)