Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / InputDevice

Type Alias: InputDevice ​

ts
type InputDevice = "keyboard" | "mouse" | "gamepad" | "touch";

Defined in: input/bindings.ts:25

Where an input came from last. Prompts and touch controls follow it.