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
});