Joystick Button

What is it?

A joystick button is used to trigger a command when a button on the joystick that this button belongs to.

Conditions to run a command

The conditions under which to run the selected commands can be one of the three following options:

While Held
Repeatedly run the command while the button is held then interrupt it when the user releases the button.
When Pressed
Start running the command when the button is pressed.
When Released
Start running the command when the button is released.

Properties

Joystick
The joystick that this belongs to.
Button
The button number on the joystick.
Command
The command to run.
When to Run
The conditions of when to run the command

See Also