Skip to content

@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 ​

PropertyTypeDefined in
kind"button" | "axis"input/bindings.ts:196
bindingsstring[]input/bindings.ts:197