@lizardbyte/gamepad-helper
v2025.1028.182004
Published
Helper library for Gamepad API. Helps with detecting type of gamepad and mapping to buttons and icons.
Readme
gamepad-helper
Helper library for Gamepad API. Helps with detecting type of gamepad and mapping to buttons and icons.
Installation
Install via NPM registry
- Add the dependency to your package.json file:
npm install @lizardbyte/gamepad-helper
Install via GitHub Package Registry
Add a
.npmrcfile to the root of your project with the following contents.//npm.pkg.github.com/:_authToken=TOKEN @lizardbyte:registry=https://npm.pkg.github.comReplace
TOKENwith a valid GitHub token with read access to the package registry.See Authenticating with a personal access token for more information or alternative methods of authentication.
Add the dependency to your package.json file:
npm install @lizardbyte/gamepad-helper
Attribution
- Button Icons and Controls were created by Zacksly (Licensed under CC BY 3.0 - https://zacksly.itch.io)
