Jump to content

GAMEPAD JUST DOWN


ismaPC95
 Share

Recommended Posts

Hello guys,

 

how can I control the download event with a gamepad? I just want an action while pressing the button. To do the same action, I'm going to press the button again.

I need this action, but with a gamepadd button. 

Tahnk you all :)

(Phaser.Input.Keyboard.JustDown(cursors.up)
 
 
//the gamepad
pad = this.input.gamepad.getPad(0);
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...