1.0.14 • Published 8 years ago

gamepad-plus v1.0.14

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

gamepad-plus 🎮

A superb library that extends the Gamepad API with super powers.

Features

  • polyfill the standard events, when unsupported: gamepadconnected, gamepaddisconnected
  • polyfill the non-standard events, when unsupported: gamepadbuttondown, gamepadbuttonup, gamepadaxismove
  • normalise mapping for gamepads in the wild to the Standard Gamepad layout
  • attach an object of attributes about the gamepad and data source

Example

View example of sample usage (source)

Developers

Run this command to compile the JavaScript as a standalone module to dist/gamepads.js:

npm run build

Maintainers

Run this command to publish a new tag to GitHub and version to npm:

npm run release
1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

9 years ago

1.0.11

9 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.2

9 years ago

1.0.0

9 years ago

1.0.1

9 years ago