Gamepads don't seem to use 'wasReleased' any work around?

As the title implies

Gamepads don’t seem to use ‘wasReleased’ any work around?

We really should add that :thinking:

You will have to keep state of the button yourself unfortunately. Keep track in the script if the button state was pressed last frame and compare to the current frame.

Let me know if you guys ever do make that change! :smiley:

Work around can be to track the status of isPressed on every frame and use the difference between current and last states. true to false or false to true;

Wait, How would I go about finding the previous frame info?

if(this.app.keyboard.isPressed(pc.KEY_0) !== this.ifPressed){
        this.ifPressed = this.app.keyboard.isPressed(pc.KEY_0);
        console.log(this.ifPressed);
    }

This may work for my immediate needs! Thanks fam!

:+1: :+1: