I want some actions in my game to be performed by button 1 of joystick/gamepad and some with button 2. Unfortunately documentation isn’t helpful, as excerpt from advanced input says:
Quote:
Joystick Button: JoyButtonTrigger(0, JoyInput.AXIS_POV_X),
JoyButtonTrigger(0, JoyInput.AXIS_POV_Y) ?
JoyButtonTrigger(0, JoyInput.AXIS_POV_Y) ?
So how do I perform different actions with different pad/joystick buttons?
//edit found about Joystick class, problem solved, though documentation doesn't mention it.