Skip to content

Releases: Tom32i/gamepad.js

v2.1.0

27 Jan 17:28
Compare
Choose a tag to compare
  • Refactoring and updated documentation.

v2.0.0

27 Jan 13:38
Compare
Choose a tag to compare

Changelog

  • [BC break] Drop "stick" behavior in favor of "axes" to be consistant with Gamepad API.

V1:

listener.on('gamepad:axis', function (event) {
    const { stick, axis } = event.detail;
    // { stick: 0, axis: 1 }
});

V2:

listener.on('gamepad:axis', function (event) {
    const { axis } = event.detail;
    // axis: 3
});

Stable 1.0.5

26 Jan 12:36
Compare
Choose a tag to compare
  • [bugfix] Support an odd number of axes #13

Stable 1.0.4

11 May 10:41
Compare
Choose a tag to compare

Npm security update

Stable 1.0.3

15 Sep 15:03
Compare
Choose a tag to compare

Fix sticks count from axes.

Stable 1.0.2

15 Sep 15:02
Compare
Choose a tag to compare

Support any number of sticks (and not juste "2").

Stable 1.0.1

27 Aug 12:06
Compare
Choose a tag to compare

Updated dependencies

Stable 1.0.0

22 Jul 06:35
bac1f15
Compare
Choose a tag to compare

Completly rewriten in ES6 + Updated depenencies

Beta 0.1

25 Mar 12:40
Compare
Choose a tag to compare
v0.1.0

Updated dependencies

v0.0.6

22 Mar 15:22
Compare
Choose a tag to compare
Updated dependencies