Releases: Tom32i/gamepad.js
Releases · Tom32i/gamepad.js
v2.1.0
v2.0.0
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
- [bugfix] Support an odd number of axes #13
Stable 1.0.4
Npm security update
Stable 1.0.3
Fix sticks count from axes.
Stable 1.0.2
Support any number of sticks (and not juste "2").
Stable 1.0.1
Updated dependencies
Stable 1.0.0
Completly rewriten in ES6 + Updated depenencies