javascript - Rumble support with Gamepads? - Stack Overflow

I have read through both the MDN Gamepad API page and the W3C Gamepad API page, and I have found nothin

I have read through both the MDN Gamepad API page and the W3C Gamepad API page, and I have found nothing about any rumble features with Gamepads. I found one page that referenced rumble support in FireFox with an android phone, but only had one ment that talked about gamepad support. That ment has 2 links: a dead blog, and a Bugzilla thread. The Bugzilla thread never ended up saying that this feature was added. I did find one more page that directly referenced the gamepad rumble control, but it was under the "The Future" section of the post.

Another issue with all these links I gave, is that they are all from between 2010-2013, nothing newer.

Is there a rumble feature for gamepads possible in the current state of web browsers? And is there a pany that has directly said that they are working on it?

I have read through both the MDN Gamepad API page and the W3C Gamepad API page, and I have found nothing about any rumble features with Gamepads. I found one page that referenced rumble support in FireFox with an android phone, but only had one ment that talked about gamepad support. That ment has 2 links: a dead blog, and a Bugzilla thread. The Bugzilla thread never ended up saying that this feature was added. I did find one more page that directly referenced the gamepad rumble control, but it was under the "The Future" section of the post.

Another issue with all these links I gave, is that they are all from between 2010-2013, nothing newer.

Is there a rumble feature for gamepads possible in the current state of web browsers? And is there a pany that has directly said that they are working on it?

Share Improve this question asked Apr 10, 2016 at 23:06 ZomoXYZZomoXYZ 1,8811 gold badge22 silver badges47 bronze badges 1
  • Thank you for your question, Jaketr00. I too have been looking for an answer and the information seems very scarce on the ground. I've set a bounty to call more attention to your post. – Polyducks Commented May 30, 2016 at 16:48
Add a ment  | 

1 Answer 1

Reset to default 6 +50

There’s the Vibration API (see also Editor’s Draft, MDN). That has support in Firefox and Chrome. It is more generally designed for phone vibration than gamepad haptics though, and only supports a single target.

I imagine that what you’re requesting would be better served by being specified as part of a future iteration of the Gamepad API. This is being written on Github, and there’s an open issue to get it in. Maybe contributing your use cases might help advance its addition?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745663851a4639002.html

相关推荐

  • javascript - Rumble support with Gamepads? - Stack Overflow

    I have read through both the MDN Gamepad API page and the W3C Gamepad API page, and I have found nothin

    4小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信