gamecontroller.js
A JavaScript library that lets you handle, configure, and use gamepads and controllers on a browser, using the Gamepad API (by alvaromontoro)
gamepad
Gamepad (by w3c)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
gamecontroller.js | gamepad | |
---|---|---|
2 | 4 | |
236 | 138 | |
- | 1.4% | |
0.0 | 6.5 | |
about 1 year ago | 10 days ago | |
JavaScript | HTML | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gamecontroller.js
Posts with mentions or reviews of gamecontroller.js.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-24.
-
Playing with the Gamepad API
Creating a small module to provide a higher-level interface to all these methods and events made sense. Something that would simplify every action and allow for more standard-looking calls.
-
SNES Controller in CSS
One goal was to make it work using a mouse, keyboard, or a gamepad connected to the browser (I had to add a pinch of JS for that 😉), and it works! If you plug a game controller into your computer, you will see the buttons pressed as you press on the physical controller. The Gamepad API controls that, and I also used a library I developed to make it easier to handle (the Gamepad API is a bit different to other Web APIs.)
gamepad
Posts with mentions or reviews of gamepad.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-24.
-
Playing with the Gamepad API
A standard API to access and control gamepads? And supported by all major browsers even when listed as "experimental?" Unexpected... but interesting. It caught my attention and my curiosity.
-
SNES Controller in CSS
One goal was to make it work using a mouse, keyboard, or a gamepad connected to the browser (I had to add a pinch of JS for that 😉), and it works! If you plug a game controller into your computer, you will see the buttons pressed as you press on the physical controller. The Gamepad API controls that, and I also used a library I developed to make it easier to handle (the Gamepad API is a bit different to other Web APIs.)
-
Javascript Gamepad API has incorrect button mapping
The API calls for a canonical device, the "Standard Gamepad": https://w3c.github.io/gamepad/#remapping
-
I finished my first game ever and it is up right now on Itch io!
index.js:8 getGamepad will now require a Permission Policy. Please update your application accordingly. For more information see https://github.com/w3c/gamepad/pull/112
What are some alternatives?
When comparing gamecontroller.js and gamepad you can also consider the following projects:
dom-examples - Code examples that accompany various MDN DOM and Web API documentation pages