We reported a few weeks ago that Microsoft was trying to get the Windows.Gaming.Input API, which would provide better support for gaming controllers like the Xbox controller, supported on Chromium.
With more and more gaming moving online via browser streaming, Microsoft felt there was an increased need for support for dedicated controllers in browsers in browsers.
Now the feature has been added to Chrome 86, currently behind the Enable.Windows.Gaming.Input flag, reports Techdows.
They also note that low-level APIs like Raw Input would not be supported on WCOS devices, while the Windows.Gaming.Input API would work on both Windows Desktop (win32 apps) and Windows 10X.
To enable the feature in the latest Chrome Canary or Dev version, go to Chrome://flags and search for Enable.Windows.Gaming.Input.