Hello,
wasPressed of app.gamepads seems to not work.
Test.prototype.update = function (dt) {
console.log('wasPressed ' + this.app.gamepads.wasPressed(pc.PAD_1, pc.PAD_L_SHOULDER_1));
console.log('isPressed ' + this.app.gamepads.isPressed(pc.PAD_1, pc.PAD_L_SHOULDER_1));
this.app.gamepads.update(dt);
};
I got correctly isPressed but wasPressed is always false.
Am i using this incorrectly or is it a bug?
Thanks.