@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / InputActionDefinition
Type Alias: InputActionDefinition ​
ts
type InputActionDefinition = {
kind: "button" | "axis";
bindings: string[];
};Defined in: input/bindings.ts:195
A button press (kind: "button") or a direction (kind: "axis").
Properties ​
| Property | Type | Defined in |
|---|---|---|
kind | "button" | "axis" | input/bindings.ts:196 |
bindings | string[] | input/bindings.ts:197 |

