| 5 | |
| 6 | would be the button representing the lifterMoveUp action. In order to change the physical location of the button(i.e. A button to B button on a different joystick), you would change the joystick location and the button number. Commented values for available buttons are available in the code below the main buttons. |
| 7 | |
| 8 | {{{public static Button lifterMoveUpButton = new JoystickButton(rightJoystick,2);}}} |
| 9 | |
| 10 | However, if you wanted to use one of the xbox triggers, you would change the joystick value to xbox, and change the button type to XboxTrigger. |
| 11 | |
| 12 | {{{public static Button lifterMoveUpButton = new XboxTrigger(xbox, );}}} |