项目作者: barhatsor

项目描述 :
Gamepad API and Gamepad Haptics API in action
高级语言: JavaScript
项目地址: git://github.com/barhatsor/web-game-controller.git
创建时间: 2021-08-29T14:06:00Z
项目社区:https://github.com/barhatsor/web-game-controller

开源协议:Creative Commons Zero v1.0 Universal

下载


🎮 Web Game Controller

This project attempts to make the Gamepad API and Gamepad Haptics API in JavaScript accessible and easier to use.

As of now, there’s no real simple, organized documentation of the APIs mentioned above. This project attempts to gather all of the available info from W3C drafts and put it into action.

So if you wanted to have some controller action in your web game, I hope I made your day a little bit better :)


The Gamepad API Test by luser was a great point of reference in putting this together.
The styling’s based off of Discord‘s styling.