AxisBinding
An axis action, -1..1. The digital result is (strongest positive) minus (strongest negative); the strongest analog source wins over it when pushed harder.
Defined in: engine/src/input/actions.ts:32
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
analog? | string[] | Signed sources, -1..1 (pad:LeftX, touch:move.x). | engine/src/input/actions.ts:39 |
kind | "axis" | - | engine/src/input/actions.ts:33 |
negative? | string[] | Digital or half-axis sources that push towards -1. | engine/src/input/actions.ts:35 |
positive? | string[] | ... and towards +1. | engine/src/input/actions.ts:37 |
Actions<B *extends* [`Bindings`](/docs/engine/api/input/type-aliases/Bindings/) = [`Bindings`](/docs/engine/api/input/type-aliases/Bindings/)>
Named game controls over an input, from makeActions. Values are read live from the input; edges (pressed, released) follow its update().
ButtonBinding
A button action: held when any source is; its value is the strongest source, 0..1.