逸凡 avatar

Chrome 86现在支持Windows.Gaming.Input API

ericjiang

Published: 24 Jul 2020 › Updated: 24 Jul 2020Chrome 86现在支持Windows.Gaming.Input API

Chrome 86现在支持Windows.Gaming.Input API

微软试图获得Windows.Gaming.Input API,它将为Chromium支持的Xbox控制器等游戏控制器提供更好的支持。

随着越来越多的游戏通过浏览器流在线上移动,Microsoft感到越来越需要支持浏览器中的专用控制器。

现在,该功能已添加到Chrome 86中,当前位于Enable.Windows.Gaming.Input标志的后面。

alt

Chrome浏览器已经具有Gamepad JavaScript API,但是Microsoft感觉增加了对Windows.Gaming.Input API的完全支持,作为备用后端将允许对控制器上的专用硬件(例如Xbox One游戏手柄上的隆隆声触发器,和Elite控制器上的拨片。

他们还注意到,WCOS设备不支持诸如Raw Input之类的低级API,而Windows.Gaming.Input API则可以在Windows桌面(win32应用程序)和Windows 10X上运行。

要在最新的Chrome Canary或Dev版本中启用该功能,请转到:Chrome://flags and search for Enable.Windows.Gaming.Input.


Posted from my blog with SteemPress : https://www.yundongfang.com/Yun14993.html

Leave Chrome 86现在支持Windows.Gaming.Input API to:

Written by

穷不怪父 孝不比兄,苦不责妻,气不凶子

Read more #cn posts


Best Posts From 逸凡

We have not curated any of ericjiang's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From 逸凡