Jump to content

Using callbacks on gamepad


maxpower
 Share

Recommended Posts

Hey guys I'm trying to get a function to be called each time the gamepad is released.

I think I need to use the function addCallbacks() and the property onUpCallback from the Gamepad class.

 

I have Gamepad called pad1 and a function test() that should be called every time any gamepad button is released, but not really sure how callbacks work/correct syntax.

 

Thanks for your help.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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