Game Controller Down
Whether a button, axis or hat switch of a game controller (flight stick, throttle, wheel, pedals, handbrake, button box) is held or pushed past its press point now, and how far, e.g. how far a pedal is pressed. Press Learn and move the control.
In the editor, press Space on the canvas to add a step, then open Conditions > Gamepad, or type its name. In Simple mode it's under Show all, and search finds it.
Settings
Control
Text RequiredThe button, axis or hat switch: press Learn and move it. Written as the controller's ids and the control, e.g. 044F:B10A button 3, 044F:B10A axis Z, 044F:B10A axis X+ or 044F:B10A hat up.
Press point (%)
A percentageFor axes: how far it must go, 1 to 100. Buttons and hats ignore it.
Outputs
Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.
| Output | Gives | What it is |
|---|---|---|
| Is down | Yes or no | |
| How far (%) | A percentage | How far it's pushed now, 0 to 100 (a button or hat is 0 or 100). |
| Connected | Yes or no | Whether the controller is connected. |
Good to know
- It's also on a trigger's Only when list, as "Game controller input held" (see Conditions and Only when).