Gamecontroller.js Versions Save

A JavaScript library that lets you handle, configure, and use gamepads and controllers on a browser, using the Gamepad API

1.5.0

3 years ago
  • Update entry point
  • Change type of log messages
  • Dependency security updates

v1.4.2

4 years ago
  • Fixed a potential bug with the events
  • Added new tests

v1.4.1

4 years ago
  • Bug fixes
  • Updated tests

v1.4.0

4 years ago
  • Added before/after events, triggered when a button is pressed and released respectively.
  • Refactor the code to reduce size and complexity

v1.3.0

4 years ago
  • Added new vibration capability (experimental feature)
  • New demo for the vibration functionality

v1.2.1

4 years ago
  • Added new axe/joystick sensitivity threshold option
  • New tests and demo for the threshold
  • Bug fix for browsers (firefox) that detect an additional (non-existing) axe

v1.1.2

4 years ago
  • Fix potential bug when gamepads could not be retrieved
  • Update example to avoid errors when gamepad doesn't match the one from the demo
  • Added new tests and updated existing ones

v1.1.1

4 years ago
  • Bug fixes: when multiple gamepads are connected, all of them work independently
  • New multiplayer example

v1.1.0

4 years ago
  • Added missing aliases (up, down, left, right).
  • Added new aliases (l1, l2, r1, r2).
  • New examples to showcase the new and existing aliases for button event handlers.

v1.0.0

4 years ago